You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO Caching the framework bootstrap files.
config ................................................................................................................................. 97ms DONE
routes ................................................................................................................................. 83ms FAIL
LogicException
Unable to prepare route [tag/{slug}] for serialization. Another route has already been assigned name [tags.show].
at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:247
243▕ $route->name($this->generateRouteName());
244▕
245▕ $this->add($route);
246▕ } elseif (! is_null($symfonyRoutes->get($name))) {
➜ 247▕ throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}].");
248▕ }
249▕
250▕ $symfonyRoutes->add($route->getName(), $route->toSymfonyRoute());
251▕
+34 vendor frames
35 artisan:35
Illuminate\Foundation\Console\Kernel::handle()
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Do a php artisan optimize from server CLI
Routes à declared twice in routes/web.php
I think the part between ** need to be in app/Http/Controllers/TagController.php
Expected behavior
config ................................................................................................................................. 97ms DONE
routes ................................................................................................................................. 83ms DONE
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered: