Support the ongoing development of Laravel.io →
Installation Configuration Requests

Hi, I am havign this error while installing laravel on live. I cloned from GIT. Catchable fatal error: Argument 1 passed to Illuminate\Foundation\Application::__construct() must be an instance of Illuminate\Http\Request, string given, called in /home/xyz/abc.com/bootstrap/app.php Composer is installed sucess fully.

Command run : composer intall composer update composer update -vvv

I get that error when : running all command above. php artisan

I have researched on this everywhere. Some questions are unanswered some i tried didn't work.

Please help.

Regards, Prajwol Raj Onta

Last updated 3 years ago.
0

Illuminate\Foundation\Application::__construct(string|null $basePath = null)

so most probably something is wrong with your composer configuration, try composer dump-autoload -o

0

Sign in to participate in this thread!

Eventy

Your banner here too?

lowjarp lowjarp Joined 11 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.