title: opencart Notice: Trying to get property of non-object in
body: <p>I installed opencart in my server hosting. But the site shows the lines given below.
  My site is <a href="http://fruitsclubbd.com/" rel="nofollow noreferrer">http://fruitsclubbd.com/</a></p>
  <p>Is it problem of server or opencart?</p>
  <blockquote>
  <p>Notice: Trying to get property of non-object in /home8/fruitscl/public_html/index.php on line 52</p>
  <p>Notice: Trying to get property of non-object in /home8/fruitscl/public_html/index.php on line 61</p>
  <p>Warning: Invalid argument supplied for foreach() in /home8/fruitscl/public_html/index.php on line 61</p>
  <p>Notice: Trying to get property of non-object in /home8/fruitscl/public_html/index.php on line 69</p>
  </blockquote>
  <p>Here is the lines of index.php form line 40 to 70.</p>
  <p>// Application Classes</p>
  <p>require_once(DIR_SYSTEM . 'library/customer.php');</p>
  <p>require_once(DIR_SYSTEM . 'library/affiliate.php');</p>
  <p>require_once(DIR_SYSTEM . 'library/currency.php');</p>
  <p>require_once(DIR_SYSTEM . 'library/tax.php');</p>
  <p>require_once(DIR_SYSTEM . 'library/weight.php');</p>
  <p>require_once(DIR_SYSTEM . 'library/length.php');</p>
  <p>require_once(DIR_SYSTEM . 'library/cart.php');</p>
  <p>// Registry</p>
  <p>$registry = new Registry();</p>
  <p>// Loader</p>
  <p>$loader = new Loader($registry);</p>
  <p>$registry-&gt;set('load', $loader);</p>