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
Command failed with error `Unable to prepare route [password/change] for serialization. Another route has already been assigned name [password.change].`
Additional details / screenshot
This can be easily fixed by renaming one of the route. But to ensure consistent naming convention, I think it's best left to the original author
The text was updated successfully, but these errors were encountered:
$ php artisan route:cache
Route cache cleared!
In AbstractRouteCollection.php line 217:
Unable to prepare route [password/change] for serialization. Another route has already been assigned name [password.change].
Root cause:
As mentioned above, the route names are identical.
Workaround:
Need to change the named route for changing the password
Update all references to this route name (controller and views).
I will work on it, this should be quick. Thanks, @yohanesgultom.
Hi, @yohanesgultom this commit should fix the issue 8afb010. You can now try to pull the latest changes on the master branch, then try to run the route:cache command again.
Issue description
Duplicate route names caused error on route caching
silsilah/routes/web.php
Lines 19 to 20 in 01524cd
Steps to reproduce the issue
php artisan route:cache
What's the expected result?
Command successful without any error
What's the actual result?
Command failed with error below:
Additional details / screenshot
This can be easily fixed by renaming one of the route. But to ensure consistent naming convention, I think it's best left to the original author
The text was updated successfully, but these errors were encountered: