title: Laravel Error on error page
body: <p>I have installed the latest version of the Laravel 5.4 (before I worked with 4.2). Everything works perfect, but when I make a mistake in my application (eg. I use a class from another namespace without "use" at the beginning of the document), Laravel displays following error:</p>
  
  <blockquote>
    <p>(1/1) InvalidArgumentException | The "" directory does not exist.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/fc2lx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fc2lx.png" alt="Red error page"></a></p>
  
  <p>instead of the correct error. 
  I think the correct error page doesn't display correctly and here is why this happens.</p>
  
  <p>I tried to run:</p>
  
  <pre><code>$ composer install
  $ composer composer dump-autoload
  </code></pre>
  
  <p>But the error still appears.</p>