0

Fatal error: Call to a member function getUsername() on a non-object in C:\wamp\www\magento-1.9\app\design\adminhtml\default\default\template\page\header.phtml on line 33

1
  • please source the header.phtml file and its block class if is custom
    – roomcayz
    Commented Mar 16, 2016 at 13:48

1 Answer 1

2

This happens if the user for the logged in admin cannot be found but somehow you are still in the admin panel. It's usually a session problem, and deleting your cookies and logging in again should fix it.

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.