title: Laravel - PHP Fatal error: Class 'CreateMatchesTable' not found in migrate:refresh
body: <p>Recently I cleaned up my tables locally, and this resulted in me deleting 'Match' table. I am now receiving errors on the production server because of this.</p>
  
  <p>Locally, I ran <code>php artisan migrate:reset</code>, deleted the 'CreateMatchesTable' file and then <code>php artisan migrate:refresh --seed</code>. This worked locally and I then pushed my most recent build to the server.</p>
  
  <p>Now, whenever I run <code>php artisan migrate:refresh --seed</code> on the production server, I'm presented with the following error:</p>
  
  <pre><code>PHP Fatal error:  Class 'CreateMatchesTable' not found in
  /home/forge/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php
  on line 301
  PHP Stack trace:
  {"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException",
          "message":"Class 'CreateMatchesTable' not found","file":"\/home\/forge
           \/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Migrations\/
           Migrator.php","line":301}}
  </code></pre>
  
  <p>I have read about other people experiencing this and I've tried <code>composer dump-autoload</code>- but the problem still persists.</p>
  
  <p>Also, <code>php artisan dump-autoload</code> unfortunately presents me with this error:</p>
  
  <pre><code>Generating optimized class loader
  Compiling common classes
  
    [ErrorException]            
    Array to string conversion  
  
  dump-autoload
  </code></pre>
  
  <p>I've deleted the site and rolled back migrations on Laravel Forge, and still, when it pulls the latest build into Forge this error occurs! </p>