When open my site I get the following error message:
Cannot autowire argument $paginator of "App\Controller\messageController::listMessagesAction()": it references interface "Knp\Component\Pager\Pagination\PaginationInterface" but no such service exists. Did you create a class that implements this interface?
I upgrade my project from Symfony 3.4 to 4.4 using the SymfonyCasts "Upgrade to Symfony4 and Flex!" So I'm using Flex.
Support Question
When open my site I get the following error message:
I upgrade my project from Symfony 3.4 to 4.4 using the SymfonyCasts "Upgrade to Symfony4 and Flex!" So I'm using Flex.
Controller code:
Configuration of knp_paginator:
Result of bin/console debug:autowiring:
How to solve the issue?
Thanks in advance.