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
Cannot cache route
When php artisan route:cache entered, thrown error with Unable to prepare route [panel/admin/languages] for serialization. Another route has already been assigned name [languages.index].
# php artisan route:cache
LogicException
Unable to prepare route [panel/admin/languages] for serialization. Another route has already been assigned name [languages.index].
at C:\xampp\htdocs\1\vendor\laravel\framework\src\Illuminate\Routing\AbstractRouteCollection.php:219
215▕ $route->name($this->generateRouteName());
216▕
217▕ $this->add($route);
218▕ } elseif (! is_null($symfonyRoutes->get($name))) {
➜ 219▕ throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}].");
220▕ }
221▕
222▕ $symfonyRoutes->add($route->getName(), $route->toSymfonyRoute());
223▕
1 C:\xampp\htdocs\1\vendor\laravel\framework\src\Illuminate\Routing\AbstractRouteCollection.php:180
Illuminate\Routing\AbstractRouteCollection::addToSymfonyRoutesCollection(Object(Symfony\Component\Routing\RouteCollection), Object(Illuminate\Routing\Route))
2 C:\xampp\htdocs\1\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php:246
Illuminate\Routing\AbstractRouteCollection::toSymfonyRouteCollection()
The text was updated successfully, but these errors were encountered:
Cannot cache route
When php artisan route:cache entered, thrown error with
Unable to prepare route [panel/admin/languages] for serialization. Another route has already been assigned name [languages.index].
The text was updated successfully, but these errors were encountered: