Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/hiboutheque/src/Controller/DocumentController.php:277 Stack trace: #0 /var/www/hiboutheque/src/Controller/DocumentController.php(277): count(NULL) #1 /var/www/hiboutheque/vendor/symfony/http-kernel/HttpKernel.php(181): App\Controller\DocumentController->indexAction(Object(Symfony\Component\HttpFoundation\Request), '392') #2 /var/www/hiboutheque/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /var/www/hiboutheque/vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /var/www/hiboutheque/public/index.php(25): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #5 {main} thrown in /var/www/hiboutheque/src/Controller/DocumentController.php on line 277