• 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 &quot;Mage_Core_Model_Message_Collection&quot; 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 215

    I 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

    https://ww.wp.xz.cn/plugins/magento-wordpress-integration/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author James Kemp

    (@jamesckemp)

    Hello,

    This usually occurs if you have a WordPress plugin that uses sessions. It conflicts with Magento

    Thread Starter dupshaw

    (@dupshaw)

    I tried commenting out all references to Sessions in mwi.php but that didn’t work. Any suggestions or am I out of luck?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error: Mage_Core_Model_Session_Abstract::getMessages()’ is closed to new replies.