Attempting to run route:cache results in the following exception:
LogicException
Unable to prepare route [register] for serialization. Another route has already been assigned name [register].
at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:212
208▕ $route->name($name = $this->generateRouteName());
209▕
210▕ $this->add($route);
211▕ } elseif (! is_null($symfonyRoutes->get($name))) {
➜ 212▕ throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}].");
213▕ }
214▕
215▕ $symfonyRoutes->add($route->getName(), $route->toSymfonyRoute());
216▕
More Info
route:list shows 2 entries for named route register
Laravel\Fortify\Http\Controllers\RegisteredUserController@store and Laravel\Fortify\Http\Controllers\RegisteredUserController@create
Description:
Attempting to run
route:cache
results in the following exception:LogicException
Unable to prepare route [register] for serialization. Another route has already been assigned name [register].
at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:212 208▕ $route->name($name = $this->generateRouteName()); 209▕ 210▕ $this->add($route); 211▕ } elseif (! is_null($symfonyRoutes->get($name))) { ➜ 212▕ throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}]."); 213▕ } 214▕ 215▕ $symfonyRoutes->add($route->getName(), $route->toSymfonyRoute()); 216▕
More Info
route:list
shows 2 entries for named routeregister
Laravel\Fortify\Http\Controllers\RegisteredUserController@store and Laravel\Fortify\Http\Controllers\RegisteredUserController@createCode in fortify/routes/routes.php