Hello,
I’ve got an error message in symfony
Class AppBundle\Controller\TasksFormController does not exist in /mnt/400Go/www/sy1/src/AppBundle/Controller/ (which is being imported from “/mnt/400Go/www/sy1/app/config/routing.yml”).
Easy to understand : a route calls a controller and does not find it. Except that no route calls this controller any more. Here’s my routing.yml :
app:
resource: "@AppBundle/Controller/"
type: annotation
Homepage:
path: /
defaults: { _controller: AppBundle:Home:home }
Homepage:
path: /home
defaults: { _controller: AppBundle:Home:home }
BackgroundImagesResizeGD1:
path: /Ajax
defaults: { _controller: AppBundle:Ajax:BackgroundImagesResizeGD1 }
BackgroundImagesResizeGD1a:
path: /Ajax/BackgroundImagesResizeGD1
defaults: { _controller: AppBundle:Ajax:BackgroundImagesResizeGD1 }
TaskCreated:
path: /TaskCreated
defaults: { _controller: AppBundle:TaskCreated:taskCreated }
OtherPages:
path: /{currentPage}
defaults: { _controller: AppBundle:Others:show }
Can’t ask “bin/console debug:router” or “cache:clear”, for both issue the same error message.
I wiped the cache (deleting its sub dirs), and also sessions. Nope, Symfony will wail about this missing controller.
Where should I look to solve this error ? Thanks in advance.
MC