I've run
artisan migrate:reset.I've deleted some of my migration files because I didn't need these tables anymore.
I ran
composer dump-autoloadfollowed byartisan dump-autoloadI ran
artisan migrateand I keep getting this error:PHP Fatal error: Class 'Foo' not found in /vagrant/LaravelBackend/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php on line 297
I tried to:
Run again
composer dump-autoloadandartisan dump-autoload(also usedartisan clear-compiled)Remove the migration table and run
artisan migrate:installRemove the vendor and composer.lock file and run
composer installSearch within my project with PHPStorm for class Foo. Didn't find anything.
I keep getting the same error. It's the first time I run this since I updated to 4.2 if that could be related. Anything else I should be looking for?
Foo? Do you recognize this class? Is it something you wrote or a package you installed? This might have to do with items in theprovidersarray in yourapp/config/app.phpfile - check to see that there's not something in there that shouldn't be. - Kryten