Social Icons

twitterfacebookgoogle pluslinkedinemail

Saturday 26 October 2013

fatal error call to a member function getusername() on a non-object in magento

Hello Friend,

when you get like 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 31".

Please  follow the steps


  1. Backup the var folder as (var-back)
  2. Create a new var directory
  3. Backup the locks folder as (locks-back) {if available}
  4. Create the locks directory



Thanks
Enjoy Your Self,

4 comments :

  1. If we are taking the back up of var folder and creating new var directory then what is the use of taking backup of locks folder as locks folder resides in var folder

    ReplyDelete
  2. And also doing this doesn't resolved my issue

    ReplyDelete
    Replies
    1. there are lots of things for this but this is the part of the one might be it will fix. if not than please send your issue here

      Delete

 

Free Advertisement

Free Advertisement

Free Advertisement

Free Advertisement