Getting "The application environment is not set correctly." in Laravel 7.x

2.2k Views Asked by At

I had a working Laravel 7.x (7.28.3) project and then ran php artisan config:clear and am now getting "The application environment is not set correctly." on every page, any ideas? I had also modified a vendor file to test something but reverted which could also be the cause. Everything I can google shows CodeIgniter errors but I am using Laravel....

1

There are 1 best solutions below

0
On

The issue was server related and fixed with restart.