I can' t log in anymore. It show

Fatal error: Call to a member function getUser() on a non-object in /usr/www/users/x/app/code/core/Mage/Admin/Model/Observer.php on line 55

This is on line 55: $user = $session->getUser();

Can anyone help me?

Best, Mark

  • did you get the solution of this problem?
    – Asad Khan
    Commented Jun 29, 2020 at 9:09

1 Answer 1


There is a problem with Magento, and some of its core files has deprecated and Magento community released the new version and solved all issue that occurred in previous version. I was having the same issue. What I have did I have replace the core files with the updated version. And Site working fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.