Malformed URI "http://". ERROR In Request.php line 303 #52142
-
Laravel Version11.0 PHP Version8.2 Database Driver & VersionMySql DescriptionI have updated the existing laravel 10 project to laravel 11. Malformed URI "http://". ERROR In Request.php line 303 .env and config file also have the full url but i don't know why this error brake the project. please let me know if any one know about this error or how to solve this. Thanks in advance. Steps To Reproduce
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, I doubt that it's a Laravel 11 issue. This is what's happening during the Laravel bootstrapping, and more precisely during your $uri = $app->make('config')->get('app.url', 'http://localhost'); And then your error happen later during the Request creation in I suggest you to double-check the |
Beta Was this translation helpful? Give feedback.
Hello, I doubt that it's a Laravel 11 issue.
This is what's happening during the Laravel bootstrapping, and more precisely during your
composer update
:And then your error happen later during the Request creation in
symfony/http-foundation
.I suggest you to double-check the
url
property inconfig/app
file.