Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Class 'Mage' not found #167

Closed
clockworkgeek opened this issue Dec 14, 2012 · 4 comments
Closed

Fatal error: Class 'Mage' not found #167

clockworkgeek opened this issue Dec 14, 2012 · 4 comments
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed

Comments

@clockworkgeek
Copy link

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.

@magento-team
Copy link
Contributor

Hello. Do you still have this issue on latest version? Can you try to reproduce?

@clockworkgeek
Copy link
Author

Issue appears fixed. I rolled back to dev34 and confirmed the error (to prove it wasn't a fluke of configuration) then went forward again to dev43 and could not see the error on several pages. Since it was intermittent to begin with this is obviously not an exhaustive test, but it does suggest all is well.

tang-yu pushed a commit that referenced this issue Mar 23, 2015
…ETWO-35278-Random-Integration-Test-Failure

[FearlessKiwis] MAGETWO-35278 Random integration test failure
guz-anton added a commit that referenced this issue Nov 17, 2015
[Vanilla+FireDrakes] Bug fixes
mmansoor-magento pushed a commit that referenced this issue Aug 1, 2016
[Troll] MAGETWO-55449 - Cannot switch indexers to Update on Schedule mode if using table prefixes
VitaliyBoyko pushed a commit to VitaliyBoyko/magento2 that referenced this issue Nov 25, 2017
- Add arround plugin listen to reservations append function
VitaliyBoyko pushed a commit to VitaliyBoyko/magento2 that referenced this issue Nov 25, 2017
@magento-engcom-team
Copy link
Contributor

Hi @clockworkgeek. Thank you for your report.
The issue has been fixed in #21731 by @VitaliyBoyko in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.2 release.

@magento-engcom-team magento-engcom-team added Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Mar 16, 2019
@magento-engcom-team
Copy link
Contributor

Hi @clockworkgeek. Thank you for your report.
The issue has been fixed in #21793 by @VitaliyBoyko in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.9 release.

@magento-engcom-team magento-engcom-team added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Mar 20, 2019
magento-engcom-team pushed a commit that referenced this issue Jun 17, 2019
pdohogne-magento pushed a commit that referenced this issue Jul 28, 2020
…er#144

magento/magento2-login-as-customer#144: "Login as Customer" functionality should be enabled by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed
Projects
None yet
Development

No branches or pull requests

3 participants