rvanlaak / SettingsBundle

Database centric Symfony2 configuration management bundle. Global and per-entity settings supported.
MIT License
113 stars 61 forks source link

Error SettingsController not public on Symfony 4.4 #129

Open Zoopme opened 1 year ago

Zoopme commented 1 year ago

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