Laravel: Error InvalidArgumentException

徘徊边缘 提交于 2019-12-03 13:16:49
Haz Pro

If your local OS is different from your production server OS you might be running into a case-sensitive issue and the file is not being found. make sure your files names are EXACTLY the same, case and all. This can happen especially if one environment is Mac and the other is Linux.

If the issue is not fixed, please go through the following link. It may help you

Laravel 5 - View [home] not found

Laravel 5.1 View not found

Laravel 5 InvalidArgumentException in FileViewFinder.php line 137: View [.admin] not found

also multiple times its found that config cache being problem. Use following commands to finetune them.

php artisan config:cache
php artisan config:clear

I had same issue but cause was different. For me the problem was permissions on errors folder. In particular the folder was not executable.

To resolve on linux:

$ chmod +x ../views/errors
Wagner Messias Cavalcanti

Try one of these commands:

php artisan dump-autoload or composer dump-autoload

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!