Strange error

Hello everybody. Guys, has anyone experienced this error: The site is working perfectly, but I can't run any artisan commands. If I try something I get this error:

In UrlGenerator.php line 128:

Illuminate\Routing\UrlGenerator::__construct(): Argument #2 ($request) must be of type Illuminate\Http\Request, null given, called in C:\www\Casa20
24\vendor\laravel\framework\src\Illuminate\Routing\RoutingServiceProvider.php on line 67

The site only has a backend with Filament v3 with a single dashboard. The Laravel log only has this information, I have no way of knowing where it comes from.
Do you have any idea how I can find out where this error is coming from?
Was this page helpful?