We have a problem where status messages on our pages won't go away, the status area just keeps growing and growing and growing.
For example, I just made a change to my user page, and I get a status of "The changes have been saved". If I then save the page again, the status message shows:
* The changes have been saved
* The changes have been saved
If I then modify another page, I get:
* The changes have been saved
* The changes have been saved
* Page Google Search Results has been updated.
This same message appear on any other page I go to on our site, including the Admin pages. The only way to clear out the statuses is to log off then log back in.
Anyone have any suggestions of things to look at that might be causing this behavior? Or, where I would I find more information about how the Drupal status messages are supposed to work?
Brian Webster
ISU Extension IT
Comments
Sessions and cookies
The messages are stored in the user's session using drupal_set_message() and are cleared using drupal_get_messages() (note the second parameter).
They are normally displayed in your theme using the $messages variable.
So a first guess is that for some reason drupal_get_messages() is not successfully clearing.
I'm having this same issue.
I'm having this same issue. Is there a way to verify that it is indeed drupal_get_messages() that is not clearing and what might I be able to do to fix this?