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 Answer
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.