Warning: Undefined array key "_source" in /var/www/modules/amrl_search/src/QueryBuilder/ElasticQueryBuilder.php on line 143

Fatal error: Uncaught TypeError: Unsupported operand types: array + null in /var/www/modules/amrl_search/src/QueryBuilder/ElasticQueryBuilder.php:143 Stack trace: #0 [internal function]: AmmarealSearch\src\QueryBuilder\ElasticQueryBuilder::AmmarealSearch\src\QueryBuilder\{closure}(Array) #1 /var/www/modules/amrl_search/src/QueryBuilder/ElasticQueryBuilder.php(144): array_map(Object(Closure), Array) #2 /var/www/modules/amrl_catalog/src/Service/CatalogPresenter.php(143): AmmarealSearch\src\QueryBuilder\ElasticQueryBuilder::getCategoriesByIds(Array) #3 /var/www/modules/amrl_catalog/src/Service/CatalogPresenter.php(58): AmmarealCatalog\Service\CatalogPresenter->presentCategories(Object(AmmarealCatalog\Entity\Catalog)) #4 /var/www/modules/amrl_catalog/controllers/front/catalog.php(54): AmmarealCatalog\Service\CatalogPresenter->present(Object(AmmarealCatalog\Entity\Catalog), NULL, true) #5 /var/www/classes/controller/Controller.php(300): amrl_catalogCatalogModuleFrontController->init() #6 /var/www/classes/Dispatcher.php(510): ControllerCore->run() #7 /var/www/index.php(28): DispatcherCore->dispatch() #8 {main} thrown in /var/www/modules/amrl_search/src/QueryBuilder/ElasticQueryBuilder.php on line 143