Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

laravel Illuminate\Routing\UrlGenerator error in artisan

I use php artisan command but I see this error.
this error show in all artisan commands

Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of Illuminate\Http\Reque   
      st, null given, called in E:\appoo\vendor\laravel\framework\src\Illuminate\Routing\RoutingServiceProvider.php
      on line 65

How can I solve this problem?

like image 288
Mehdi Jalali Avatar asked Oct 27 '25 17:10

Mehdi Jalali


1 Answers

Please make sure that you are not using any url() or asset() or other helpers functions inside your configuration files

like image 145
sta Avatar answered Oct 30 '25 07:10

sta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!