Fatal error: Uncaught TypeError: Argument 1 passed to Axon\ProductBundle\Entity\ProductRepository::findAllByCategoryQuery() must be an instance of Axon\ProductBundle\Entity\Category, null given, called in /usr/home/nousdepalau.com/src/Axon/FrontendBundle/Controller/DefaultController.php on line 55 and defined in /usr/home/nousdepalau.com/src/Axon/ProductBundle/Entity/ProductRepository.php:42 Stack trace: #0 /usr/home/nousdepalau.com/src/Axon/FrontendBundle/Controller/DefaultController.php(55): Axon\ProductBundle\Entity\ProductRepository->findAllByCategoryQuery(NULL) #1 [internal function]: Axon\FrontendBundle\Controller\DefaultController->showCategoryAction('nous-en-gra-sen...') #2 /usr/home/nousdepalau.com/app/bootstrap.php.cache(2911): call_user_func_array(Array, Array) #3 /usr/home/nousdepalau.com/app/bootstrap.php.cache(2883): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /usr/home/nousdepalau.com/app/bootstrap.php.cache(3022): Symfony\Component\HttpKernel\H in /usr/home/nousdepalau.com/src/Axon/ProductBundle/Entity/ProductRepository.php on line 42