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

Failure to run the app after configuring forest admin #14

Open
aszenz opened this issue Mar 10, 2023 · 1 comment
Open

Failure to run the app after configuring forest admin #14

aszenz opened this issue Mar 10, 2023 · 1 comment

Comments

@aszenz
Copy link

aszenz commented Mar 10, 2023

Expected behavior

After installing the package and adding the config/routes I should be able to use my application

Actual behavior

I get an error:
🌳🌳🌳 Field relatie already defined in collection in forest.agent::loadRoutes (which is being imported from "/home/aszen/Desktop/project1/vendor/forestadmin/symfony-forestadmin/config/routes/routes.php"). Make sure there is a loader supporting the "service" type.

Failure Logs

ForestAdmin\AgentPHP\DatasourceToolkit\Exceptions\
ForestException
🌳🌳🌳 Field relatie already defined in collection

Context

relatie is a route prefix defined in our project

  • Package Version: 1.0.0-beta.10
  • PHP Version: 8.1
@matthv
Copy link
Member

matthv commented Mar 10, 2023

Hello @aszenz,

I can't reproduce your issue on my end.
Do you have an entity with a relatie field ? If so, can you share it with us?

Can you also share your routing file 🙏 so that I can try to reproduce the bug ?

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