I removed all third-party config files and updated the Laravel config files to match the ones from the latest install and I'm still getting this error.
Dec 31, 2018
3
Level 2
UrlGenerator TypeError running php artisan dusk or phpunit
I'm getting this error when I run either php artisan dusk or phpunit:
TypeError: Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of Illuminate\Http\Request, null given, called in RoutingServiceProvider.php
A lot of suggestions for fixing this say to remove any instances of asset( or url( from config files. I'm not using either of those in any config file.
php artisan and php artisan route:list run fine.
Please or to participate in this conversation.