When i open admin url, I see this error
Fatal error: Call to a member function
getUsername()
on a non-object in/app/design/adminhtml/default/default/template/page/header.phtml
on line 33 Any ideas?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityif you use customer session than add session condition
$session = Mage::getSingleton('customer/session');
if($session->isLoggedIn()) {
}