Skip to content

Fatal error: Class 'Mage' not found #167

Closed
@clockworkgeek

Description

@clockworkgeek

I have "display_errors" set to "on" for my dev server. Sometimes, in backend, an error is shown at the bottom of a page after all other output. I have the latest dev-34 version.

Fatal error: Class 'Mage' not found in /var/www/app/code/core/Mage/Core/Model/Abstract.php on line 174

Call Stack:
    0.9556   17248592   1. Mage_Core_Model_Abstract->__sleep() /var/www/app/code/core/Mage/Core/Model/Abstract.php:0

Clearly a model is being serialized as it is disposed automatically. But the 'Mage' class has already been disposed before it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions