-
Notifications
You must be signed in to change notification settings - Fork 27
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
Duplicate routes in Bagisto and Rest API #372
Comments
I have the same error |
@devansh-webkul I have same error, can you help to check this |
how to fix it? |
We will fix it as soon as possible. |
Fixed and provided v2.1.1 and v2.2.1. |
ok thx,it's work |
Hello @KharisG1234T , This issue is not coming from the REST API. The error clearly states that the 'info' key is undefined in your configuration section. This means that in your Please check this, and you should be able to find the solution. Thanks. |
We noticed a duplicate route naming with a clean install of Bagisto and Bagisto Rest API
packages/Webkul/Admin/src/Routes/reporting-routes.php
Line 19: admin.reporting.customers.stats
Line 34: admin.reporting.products.stats
vendor/bagisto/rest-api/src/Routes/V1/Admin/reporting-routes.php
Line 26: admin.reporting.customers.stats
Line 33: admin.reporting.products.stats
When we run php artisan optimize it results in:
In AbstractRouteCollection.php line 247:
Unable to prepare route [reporting/customers/stats] for serialization. Another route has already been assigned name [admin.reporting.customers.stats].
Failed to run artisan optimize: exit status 1
The text was updated successfully, but these errors were encountered: