If you don't want to show a core, or contrib message to the end user, you now have to iterate $_SESSION['messages'] and search for the (translated, token replaced) string to unset it.
If a message has a unique key, you can easily override a message, or unset it.
function backdrop_set_message($message = NULL, $type = 'status', $repeat = TRUE, $message_key = FALSE) {
A simple unset($_SESSION['messages']['status']['unique_key']) could remove the message, and $_SESSION['messages']['status']['unique_key'] = t('Something else'); changes it.
Recent comments
So the implication is that another module is causing the trouble. Now for the slow process of elimination... Sounds plausible. And good luck with digging...
How to troubleshoot interactive image cropping modules?
I’ve just set up a clean install in MAMP and Focal Point works fine. *sighs So the implication is that another module is causing the trouble. Now for the slow process of elimination...
How to troubleshoot interactive image cropping modules?
Here’s the edit screen with the Focal Point instructions below: If I click on the Preview link, I get this: And no errors in the console.
How to troubleshoot interactive image cropping modules?