Please make sure that you are not using any url() or asset() or other helpers functions inside your configuration files.
Mar 21, 2020
4
Level 2
After update to Laravel 7 php artisan not working
Hello,
after upgrading Laravel according to the docs to v7 I ran composer update. Then I'm getting this: `In UrlGenerator.php line 120:
Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of Illuminate\Http\Request, null given, called in \vendor\laravel\framework\src\Illuminate\Routing\RoutingServiceProvider.php on line 65
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1`
Any idea how this could be fixed?
Level 30
1 like
Please or to participate in this conversation.