Fatal error: Mage_Core_Model_Session_Abstract::getMessages()
-
I’m trying to display the categories in the WordPress header. If I go to the page in an incognito window, it will work once, then if I refresh it always gives the following error:
Fatal error: Mage_Core_Model_Session_Abstract::getMessages() [<a href='mage-core-model-session-abstract.getmessages'>mage-core-model-session-abstract.getmessages</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Mage_Core_Model_Message_Collection" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /path/app/code/core/Mage/Core/Model/Session/Abstract.php on line 215I read that there could be something conflicting with a plugin that tries to initiate a session. I’ve tried commenting out all the references to sessions that I could find in
mwi.php. I won’t need sessions to display the categories, is there anything I can do to make it work?Thanks
The topic ‘Fatal error: Mage_Core_Model_Session_Abstract::getMessages()’ is closed to new replies.