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

Class "Route" not found #100

Open
HeadStudios opened this issue Apr 22, 2023 · 0 comments
Open

Class "Route" not found #100

HeadStudios opened this issue Apr 22, 2023 · 0 comments

Comments

@HeadStudios
Copy link

After composer update get the following error:

Class "Route" not found

at vendor/whitecube/nova-page/src/Pages/TemplatesRepository.php:41
37▕ * @return void
38▕ */
39▕ public function registerRouteTemplates()
40▕ {
➜ 41▕ foreach (Route::getRoutes()->getRoutes() as $route) {
42▕ if(!$route->template()) continue;
43▕ $this->register('route', $route->getName(), $route->template());
44▕ }
45▕ }

  +8 vendor frames 

9 artisan:35
Illuminate\Foundation\Console\Kernel::handle()

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