Skip to content
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

Error: Requested page is invalid. #58

Closed
maxby opened this issue Nov 3, 2017 · 2 comments
Closed

Error: Requested page is invalid. #58

maxby opened this issue Nov 3, 2017 · 2 comments

Comments

@maxby
Copy link

maxby commented Nov 3, 2017

When I change path pattern for product's taxon - plugin is crashing(
Step to reproduce:

  1. Open file #sylius/src/Sylius/Bundle/ShopBundle/Resources/config/routing/product.yml
  2. Change default path pattern from "path: /taxons/{slug}" to "path: /{slug}"
  3. Profit( On admin side and front error is same
@maxby
Copy link
Author

maxby commented Nov 3, 2017

I found solution.
You need insert plugin route before sylius_shop in file #sylius/app/config/routing.yml

@bitbager
Copy link
Member

bitbager commented Nov 5, 2017

Looks like you customized your instance to have two routes that request two different controllers 🙂

@bitbager bitbager closed this as completed Nov 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants