title: Undefined $load property error after upgrading CodeIgniter 1.7 to 2.1
body: <p>Why I get this error after upgrading CodeIgniter from v1.7 to v2.1?        </p>
  
  <pre><code>A PHP Error was encountered
  
  Severity: Notice
  
  Message: Undefined property: Site::$load
  
  Filename: libraries/Website.php
  
  Line Number: 25
  
  Fatal error: Call to a member function library() on a non-object in C:\xampp\htdocs\travel\application\libraries\Website.php on line 25
  </code></pre>
  
  <p>The library application/library/website</p>
  
  <pre><code>class Website extends CI_Controller {
  
      public static $current_city;
  
      public function __construct() {
  
          $this-&gt;load-&gt;library('language'); // line 25
          $this-&gt;language-&gt;loadLanguage();
          $this-&gt;load_main_lang_file();
          $this-&gt;load_visitor_geographical_data();
          $this-&gt;load-&gt;library('bread_crumb');
     }
  }
  </code></pre>