0

I am trying to figure out why all of sudden my Laravel application is yielding a 500 internal server error sometimes when I do a page refresh. Currently, right now I'm using the "Homestead" vagrant box to code my application.

For whatever reason sometimes when I refresh my pages it comes up completely blank and when I do a check to inspect the error I see that it's a 500 internal server error. And after several page refresh, the error would just magically disappear and the page comes up.

I thought it might be the cache, so I refreshed the cache running the following commands.

php artisan cache: clear;
php artisan view: clear;
php artisan config: clear;

Even after this the error sometimes still persists. This is something that never occurred before and I'm not sure what is causing this error.

halfer
  • 19,471
  • 17
  • 87
  • 173
Darren Cooper
  • 71
  • 1
  • 6

0 Answers0