Exception detected!

The identifier id is missing for a query of BaseBundle\Entity\Module

500 Internal Server Error - ORMException

Stack Trace

  1. in vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php at line 294  -
    1.      */
    2.     public static function missingIdentifierField($className$fieldName)
    3.     {
    4.         return new self("The identifier $fieldName is missing for a query of " $className);
    5.     }
    6.     /**
  2. at ORMException ::missingIdentifierField ("BaseBundle\Entity\Module", "id")
    in vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php at line 403  +
  3. at EntityManager ->find ("BaseBundle\Entity\Module", array("id" => null), null, null)
    in vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 154  +
  4. at EntityRepository ->find (null)
    in src/WebBundle/Controller/BaseController.php at line 82  +
  5. at BaseController ->addSecondLevelModule (null)
    in src/WebBundle/Controller/GetRouterController.php at line 31  +
  6. at GetRouterController ->getlistAction (object(Request))
  7. at call_user_func_array (array(object(GetRouterController), "getlistAction"), array(object(Request)))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 153  +
  8. at HttpKernel ->handleRaw (object(Request), "1")
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 68  +
  9. at HttpKernel ->handle (object(Request), "1", true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 169  +
  10. at Kernel ->handle (object(Request))
    in web/app.php at line 14  +

Logs  -

Stack Trace (Plain Text)  +