title: codeigniter returns "Message: Undefined property: Welcome::$load" trying to load helper lib
body: <p><a href="https://i.stack.imgur.com/CpZcO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CpZcO.png" alt="enter image description here"></a></p>
  
  <p><strong>Background Information</strong></p>
  
  <p>I just installed a fresh copy of CI and modified the welcome controller to include the url Helper so I can call the method <code>base_url</code>.  I then try to call this method from <code>home.php</code></p>
  
  <p><strong>Problem:</strong>
  I'm getting the following error message:</p>
  
  <pre><code>Message: Undefined property: Welcome::$load
  Filename: controllers/welcome.php
  </code></pre>
  
  <p><strong>Code:</strong></p>
  
  <p>This is what my welcome controller now looks like:</p>
  
  <pre><code>class Welcome extends CI_Controller {
      public function __construct()
      {
          $this-&gt;load-&gt;helper('url');     
      }   
  
      public function index()
      {
          $this-&gt;load-&gt;view('home');
      }
  }
  </code></pre>
  
  <p>The view looks like this: </p>
  
  <pre><code>&lt;!DOCTYPE html&gt; 
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=Edge"/&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width = device-width"&gt;    
      &lt;meta name="description" content=""&gt;
      &lt;!-- Le styles --&gt;    
      &lt;title&gt;test site&lt;/title&gt;
      &lt;script&gt;   
        var BASEPATH = "&lt;?php echo base_url(); ?&gt;";
      &lt;/script&gt;
      &lt;link href="&lt;?php echo base_url('assets/css/bootstrap.min.css')?&gt;" rel="stylesheet"&gt;
      &lt;link href="&lt;?php echo base_url('assets/css/navbar.css')?&gt;" rel="stylesheet"&gt;    
    &lt;/head&gt;
  </code></pre>
  
  <p>The system is dying on the line in the controller's constructor where i try to load the library...</p>
  
  <p>What I've done so far: </p>
  
  <ol>
  <li>Read the manual. <a href="https://www.codeigniter.com/user_guide/helpers/url_helper.html" rel="noreferrer">https://www.codeigniter.com/user_guide/helpers/url_helper.html</a></li>
  <li><p>Tried to include the url library in the config/autoload.php like so: </p>
  
  <p><code>$autoload['helper'] = array('url');</code></p></li>
  </ol>
  
  <p>But I'm still getting the error. 
  Any suggestions? </p>
  
  <p>Thanks. </p>
  
  <p>Screenshots:</p>