Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mugukamil's avatar

ArtisanServiceProvider' not found

FatalErrorException in ProviderRepository.php line 149: Class '/home/admin/web/tog.lv/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Providers/ArtisanServiceProvider' not found

I have this error when try to connect to my site: http://tog.lv. I migrate my laravel from one hosting to another and have this error.

0 likes
3 replies
bobbybouwmann's avatar

Did you try to run a composer dump-autoload? If this doens't work I would recommend you to delete the vendor directory and install all dependencies again: composer install

zachleigh's avatar

I just checked your site. Its getting a RouteNotFound exception. Was the site working before you changed hosts?

Please or to participate in this conversation.