biblys / biblys-theme-lavondyss

Thème Biblys de la librairie Lavondyss
0 stars 0 forks source link

Bug: Fatal error quand on veut accéder à une page non filtrée #20

Closed Lavondysss closed 2 years ago

Lavondysss commented 2 years ago

Ça raconte ça:

Fatal error: Uncaught TypeError: Return value of Biblys\Service\Pagination::getQueryForPageNumber() must be of the type string, null returned in /home/biblys/cloud/lavondyss/src/Biblys/Service/Pagination.php:96 Stack trace: #0 /home/biblys/cloud/lavondyss/vendor/twig/twig/src/Extension/CoreExtension.php(1607): Biblys\Service\Pagination->getQueryForPageNumber(1) #1 /home/biblys/cloud/lavondyss/vendor/twig/twig/src/Environment.php(358) : eval()'d code(72): twig_get_attribute(Object(Twig\Environment), Object(Twig\Source), Object(Biblys\Service\Pagination), 'queryForPageNum...', Array, 'method', false, false, false, 16) #2 /home/biblys/cloud/lavondyss/vendor/twig/twig/src/Template.php(394): __TwigTemplate_51fba51a05a799b7d0eab52fbe87c85b836489fdfe9129597fa324f736b36fda->doDisplay(Array, Array) #3 /home/biblys/cloud/lavondyss/vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling(Array, Array) #4 /home/biblys/cloud/lavondyss/vendor/twig/twig/src/Environment.php(358) : eval()'d code(156): Twig\Template- in /home/biblys/cloud/lavondyss/src/Biblys/Service/Pagination.php on line 96