Here is one step solutions of laravel error-
Error:- home/servername/public_html/project/vendor/composer/../../app/Http/Middleware/TrustProxies.php): failed to open stream: No such file or directory app/Http/Middleware/TrustProxies.php): failed to open stream: No such file or directory.
Sometime at the time of project deliver you may be become so excited and most developer getting mistake at the ending time of project if your project was very large. what mistake developer did let me explain you, I am not sure but try to explain you they moved some directory file to another and other to anoher has moved in another directory so ,
composer dumpautoload
php artisan queue:restart
Check you
Middleware Folder is available or not or renamed.
* Be the first to Make Comment