Easyadminbundle: Controller parsing error

Created on 9 Oct 2017  路  2Comments  路  Source: EasyCorp/EasyAdminBundle

EasyAdmin v1.17.3
Error Message :

The _controller value "EasyAdminBundle:AdminController:index" maps to a "EasyCorp\Bundle\EasyAdminBundle\Controller\AdminControllerController" class, but this class was not found. Create this class or check the spelling of the class and its namespace.

I don't know how to solve it. I tried to install and re-install following the procedure provided into this repo without any success... Please help me .

thank you

bug unconfirmed

All 2 comments

I think this is a syntax error when using the special Symfony notation. This change should fix it:

-EasyAdminBundle:AdminController:index
+EasyAdminBundle:Admin:index

With this notation, you need to strip Action from the method name and Controller from the controller class.

Alternatively you can use the PHP FQCN:

EasyCorp\Bundle\EasyAdminBundle\Controller\AdminController::indexAction

Ok, I apologize. Long hours spent to code made me blind !
BTW, your bundle is a real great job. Really helping and time-saver !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shakaran picture shakaran  路  4Comments

cve picture cve  路  4Comments

Ealenn picture Ealenn  路  3Comments

Wait4Code picture Wait4Code  路  3Comments

lukasluecke picture lukasluecke  路  3Comments