Skip to content
Advertisement

Class ‘IlluminateSupportfacadesHttp’ not found

My Laravel app was running successfully locally on my PC using WAMP server

JavaScript

When I deployed my app on a RedHat server,

JavaScript

I faced the below error when I make an HTTP request:

JavaScript

The only difference is the PHP version

composer.json

JavaScript

And please note that locally, i upgraded my laravel version from laravel 5 to laravel 7 from the beginning.

Do i have to install anything else on the server to make an HTTP request ?

Advertisement

Answer

Change IlluminateSupportfacadesHttp => IlluminateSupportFacadesHttp . The f in facade needs to be in uppercase.

File names in Linux are case sensitive while in Windows/NTFS file systems, it’s not. So, locally, it would not be a problem since your environment is Windows (assumed from WAMP).

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement