Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 3 passed to App\Elasticsearch\Search\PageSearch::searchBySlug() must be of the type array, null given, called in /srv/app/src/Controller/GuaranteeContractController.php on line 49 in /srv/app/src/Elasticsearch/Search/PageSearch.php:48 Stack trace: #0 /srv/app/src/Controller/GuaranteeContractController.php(49): App\Elasticsearch\Search\PageSearch->searchBySlug('garanties-garan...', Array, NULL) #1 /srv/app/vendor/symfony/http-kernel/HttpKernel.php(150): App\Controller\GuaranteeContractController->index(Object(App\Elasticsearch\Search\ActorSearch), Object(App\Elasticsearch\Search\PageSearch)) #2 /srv/app/vendor/symfony/http-kernel/HttpKernel.php(67): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /srv/app/vendor/symfony/http-kernel/Kernel.php(198): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /srv/app/public/index.ph in /srv/app/src/Elasticsearch/Search/PageSearch.php on line 48