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 SettingsController not public on Symfony 4.4 #129

Open
Zoopme opened this issue May 12, 2023 · 0 comments
Open

Error SettingsController not public on Symfony 4.4 #129

Zoopme opened this issue May 12, 2023 · 0 comments

Comments

@Zoopme
Copy link

Zoopme commented May 12, 2023

Hi,

I am getting the following error on Symfony 4.4:

The controller for URI "/settings/global" is not callable: Controller "Dmishh\SettingsBundle\Controller\SettingsController" cannot be fetched from the container because it is private. Did you forget to tag the service with "controller.service_arguments"?

This is solved by adding public: true to the service definition of SettingsController

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

1 participant