Laravel this page isn’t working is currently unable to handle this request

This page isn’t working is currently unable to handle this request. http error 500 laravel; In this tutorial, i am going to show you following laravel errors:

  • This page isn’t working http error 500 laravel
  • This page isn t working http error 500 laravel on server
  • Fatal error: Uncaught ReflectionException: Class config does not exist
  • Class config does not exist in vendor/laravel/framework/src illuminatecontainercontainer php 767
  • uncaught reflectionexception: class config does not exist laravel
  • in container php line 788 class config does not exist
  • vendor/laravel/framework/src/illuminatecontainercontainer php on line 738
  • target class illuminatedatabaseeloquentfactory does not exist
  • class request does not exist laravel

Laravel currently unable to handle this request http error

There are two ways to solve the following errors:

  • Solution 1 – Edit .evn File
  • Solution 2 – Clear Cache of Laravel App

Solution 1 – Edit .evn File

Open, .env file and update the following lines of code:

APP_ENV=local
APP_DEBUG=true

Then again run your laravel app. If you are still facing problem then you should see second solution.

Solution 2 – Clear Cache of Laravel App

Use the below command and clear your laravel app cache like session cache, cookies cache:

php artisan cache:clear

Use the below command and clear your config cache :

php artisan config:cache

If you execute the above-given command. And shows you any of the following issues on your terminal:

  • Fatal error: Uncaught ReflectionException: Class config does not exist
  • Class config does not exist in vendor/laravel/framework/src illuminatecontainercontainer php 767
  • uncaught reflectionexception: class config does not exist laravel
  • in container php line 788 class config does not exist
  • vendor/laravel/framework/src/illuminatecontainercontainer php on line 738

So now you go to your Laravel app. Then go to bootstrap/cache directory. And delete all files and sub directories inside the bootstrap/cache directory.

Or, you can execute the following on the terminal instead of manually deleting the file:

cd bootstrap/cache/
rm -rf *.php

Recommended Laravel Tutorials

Be First to Comment

Leave a Reply

Your email address will not be published.