title: Deployment error when using Laravel Forge
body: <p>Within Laravel Forge, on <code>Quick Deploy</code> or <code>Deploy</code>, I'm presented with this error within the deployment log:</p>
  
  <pre><code>Generating autoload files
  PHP Fatal error:  Class 'Illuminate\Support\Arr' not found in
  /home/forge/default/vendor/laravel/framework/src/Illuminate/Support/helpers.php
  on line 182
  
  PHP Stack trace:
  PHP   1. {main}() /home/forge/default/artisan:0
  PHP   2. require_once() /home/forge/default/artisan:30
  PHP   3. Illuminate\Foundation\Application-&gt;detectEnvironment() /home/forge/default/bootstrap/start.php:33
  PHP   4. Illuminate\Foundation\EnvironmentDetector-&gt;detect() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:262
  PHP   5. Illuminate\Foundation\EnvironmentDetector-&gt;detectConsoleEnvironment() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/EnvironmentDetector.php:18
  PHP   6. Illuminate\Foundation\EnvironmentDetector-&gt;getEnvironmentArgument() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/EnvironmentDetector.php:68
  PHP   7. array_first() /home/forge/default/vendor/laravel/framework/src/Illuminate/Foundation/EnvironmentDetector.php:89
  </code></pre>
  
  <p>I have set up the application correct to the best of my knowledge, including <code>Environment Variables</code> and Environment Detection:</p>
  
  <pre><code>$env = $app-&gt;detectEnvironment(
  array( 
  
       'development' =&gt; array('Thor','localhost'), 
       'production' =&gt; array('Removed for security')
  ));
  </code></pre>
  
  <p>On the actual website, once the deployment has (apparantly!) taken place, this is the error log:</p>
  
  <p><img src="https://i.stack.imgur.com/ZGJpI.png" alt="Error on website"></p>
  
  <p>My complete <code>start.php</code> code is:</p>
  
  <pre><code>&lt;?php
  
  $app = new Illuminate\Foundation\Application;
  
  $env = $app-&gt;detectEnvironment(
      array( 
  
           'development' =&gt; array('Thor','localhost'), 
           'production' =&gt; array('removed for security')
      ));
  
  $app-&gt;bindInstallPaths(require __DIR__.'/paths.php');
  
  $framework = $app['path.base'].'/vendor/laravel/framework/src';
  
  require $framework.'/Illuminate/Foundation/start.php';
  
  return $app;
  </code></pre>
  
  <p>Any help would be hugely appreciated. </p>