title: Codeigniter: Error - call_user_func_array() expects parameter 1 to be a valid callback, class 'Error' does not have a method 'index'
body: <p>Currently, I want to add new php file in view folder. But, when I add that file, the error display as below even I copied code from the existing file:</p>
  
  <blockquote>
    <p>Severity: Warning</p>
    
    <p>Message: call_user_func_array() expects parameter 1 to be a valid
    callback, class 'Error' does not have a method 'index'</p>
  </blockquote>
  
  <p>Filename: core/CodeIgniter.php</p>
  
  <blockquote>
    <p>Line Number: 532</p>
    
    <p>Backtrace:</p>
    
    <p>File: /home/spezerco/public_html/orlins/index.php Line: 315 Function:
    require_once</p>
  </blockquote>
  
  <p>I already tried look up on the function I created in model and the load code ( $this->loadViews("plan", $this->global, $data, NULL);) but i still can't figure out the problem.</p>
  
  <p>so here is the code:</p>
  
  <p>in CodeIgniter.php line 532:
  call_user_func_array(array(&amp;$CI, $method), $params);</p>
  
  <p>in index.php line 315:
  require_once BASEPATH.'core/CodeIgniter.php';</p>