Warning: Missing argument 1 for ProductsController::product(), called in /www_root/libs/application.php on line 69 and defined in /www_root/controller/products.controller.php on line 103

Notice: Undefined variable: category_id in /www_root/controller/products.controller.php on line 104

Fatal error: Uncaught exception 'Doctrine\ORM\ORMException' with message 'The identifier categorySrl is missing for a query of Category' in /www_root/libs/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:294 Stack trace: #0 /www_root/libs/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(403): Doctrine\ORM\ORMException::missingIdentifierField('Category', 'categorySrl') #1 /www_root/libs/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(154): Doctrine\ORM\EntityManager->find('Category', NULL, NULL, NULL) #2 /www_root/controller/products.controller.php(104): Doctrine\ORM\EntityRepository->find(NULL) #3 /www_root/libs/application.php(69): ProductsController->product() #4 /www_root/index.php(18): Application->__construct() #5 {main} thrown in /www_root/libs/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php on line 294