Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCachedRoutesPath() #53356

Closed
laaaaaaaaaen opened this issue Oct 31, 2024 · 0 comments
Closed

getCachedRoutesPath() #53356

laaaaaaaaaen opened this issue Oct 31, 2024 · 0 comments

Comments

@laaaaaaaaaen
Copy link

Laravel Version

10.10

PHP Version

8.1

Database Driver & Version

MariaDB

Description

I can't use php artisan optimzie or php artisan route:cache it gives me an error: Illuminate\Foundation\Console\RouteCacheCommand::buildRouteCacheFile(): Argument #1 ($routes) must be of type Illuminate\Routing\RouteCollection, Illuminate\Routing\CompiledRouteCollection given, called in C:\inetpub\zexelworlds\vendor\laravel\framework\src\Illuminate\Foundation\Console\RouteCacheCommand.php on line 68
image

Steps To Reproduce

Issue for route cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant