title: What is wrong in my opencart configurations?
body: <p>I am trying to access the admin page of my opencart but I am getting this error:</p>
  
  <blockquote>
    <p>Fatal error: Call to a member function getFirstName() on a non-object in /home/xxxxxx/public_html/catalog/controller/common/header.php on line 73</p>
  </blockquote>
  
  <p>I am not an expert in opencart but I don't think the admin should be accessing a file from the catalog.</p>
  
  <p>really, the configurations seem right.
  Did anyone ever see this error before?</p>
  
  <p>This is the line <code>73</code> which is being acused in the error:</p>
  
  <pre><code>$this-&gt;data['text_logged'] = sprintf($this-&gt;language-&gt;get('text_logged'), $this-&gt;url-&gt;link('account/account', '', 'SSL'), $this-&gt;customer-&gt;getFirstName(), $this-&gt;url-&gt;link('account/logout', '', 'SSL'));
  </code></pre>
  
  <hr>
  
  <p>Thank you everyone. The error was that I copied the wrong file and was dumb enough to not read the code thoroughly. Thank you guys</p>