Magento – Fatal error: Uncaught exception 'Exception' with message 'Serialization …….'

  • serialization of mage_core_model_layout_element is not allowed

The message might be various but something like this
Fatal error: Uncaught exception ‘Exception’ with message ‘Serialization of ‘Mage_Core_Model_Layout_Element’ is not allowed’ in /app/code/core/Mage/Core/Model/Mysql4/Session.php:82

If you re

ad PHP manual or google for this issue, it doesn’t tell you something about the reason excepting expanding issues itself.

You might tried to disable or enable cache, set permission, reset index….. but the problem is still there. Did you try to set default theme for your store? Well, in almost case this issue will be gone. The secret is actually something to do with the layout files.

The best way is removing all your layout files of your templates then add one by one until you found the file where the problem raise. Then look at the file and do same thing until you see the line where the problem happen 🙂

Format

The message might be various but something like this
Fatal error: Uncaught exception ‘Exception’ with message ‘Serialization of ‘Mage_Core_Model_Layout_Element’ is not allowed’ in /app/code/core/Mage/Core/Model/Mysql4/Session.php:82
If you read PHP manual or google for this issue, it doesn’t tell you something about the reason excepting expanding issues itself.
You might tried to disable or enable cache, set permission, reset index….. but the problem is still there. Did you try to set default theme for your store? Well, in almost case this issue will be gone. The secret is actually something to do with the layout files.
The best way is removing all your layout files of your templates then add one by one until you found the file where the problem raise. Then look at the file and do same thing until you see the line where the problem happen 🙂
Path:

Comments Closed