title: mb_substr() expects parameter 1 to be string, array given
body: <p>I am new to laravel. This project was working perfect on my friends computer on his personal IP but now when I have installed it on mine on localhost, it is continually giving some errors. At first it was displaying the error :</p>
  
  <ol>
  <li><blockquote>
    <p>InvalidArgumentException in compiled.php line 14319: View [_particles.sub_header] not found.</p>
  </blockquote></li>
  <li><blockquote>
    <p>SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)</p>
  </blockquote></li>
  </ol>
  
  <p>I think I might not have linked the database to the project correctly due to this it's not working properly. </p>
  
  <p>AND now When I try to open my project through browser it provides me an error</p>
  
  <ol start="3">
  <li><blockquote>
    <p>ErrorException in compiled.php line 6772:
    mb_substr() expects parameter 1 to be string, array given</p>
  </blockquote></li>
  </ol>
  
  <p><strong>and the code at this line shows:</strong> </p>
  
  <pre><code>public static function substr($string, $start, $length = null)
  {
  
      return mb_substr($string, $start, $length, 'UTF-8');
  
  }
  </code></pre>
  
  <p>NOTE: The last error is the current error showing me on my browser.</p>