Fatal error: Uncaught TypeError: Solarium\Component\ResponseParser\Stats::normalizeParsedJsonStats(): Argument #1 ($stats) must be of type array, null given, called in /var/www/html/vendor/solarium/solarium/src/Component/ResponseParser/Stats.php on line 63 and defined in /var/www/html/vendor/solarium/solarium/src/Component/ResponseParser/NormalizeParsedJsonStatsTrait.php:24
Stack trace:
#0 /var/www/html/vendor/solarium/solarium/src/Component/ResponseParser/Stats.php(63): Solarium\Component\ResponseParser\Stats->normalizeParsedJsonStats(NULL)
#1 /var/www/html/vendor/solarium/solarium/src/QueryType/Select/ResponseParser.php(61): Solarium\Component\ResponseParser\Stats->parse(Object(Solarium\QueryType\Select\Query\Query), Object(Solarium\Component\Stats\Stats), Array)
#2 /var/www/html/vendor/solarium/solarium/src/Core/Query/Result/QueryType.php(83): Solarium\QueryType\Select\ResponseParser->parse(Object(Solarium\QueryType\Select\Result\Result))
#3 /var/www/html/vendor/solarium/solarium/src/QueryType/Select/Result/Result.php(243): Solarium\Core\Query\Result\QueryType->parseResponse()
#4 /var/www/html/vendor/solarium/solarium/src/QueryType/Select/Result/Result.php(293): Solarium\QueryType\Select\Result\Result->getComponent('facetset')
#5 /var/www/html/src/OfficeBrain/Bundle/SearchBundle/Helper/SearchHelper.php(79): Solarium\QueryType\Select\Result\Result->getFacetSet()
#6 /var/www/html/src/OfficeBrain/Bundle/SearchBundle/Manager/Extended/SolrSearchExtended.php(135): App\OfficeBrain\Bundle\SearchBundle\Helper\SearchHelper->formatFacetResult(Object(Container21jgqPj\OwnCustomEntityManagerGhost3e43b25), Object(Solarium\QueryType\Select\Result\Result), NULL, NULL, '0', '1')
#7 /var/www/html/src/project/OfficeBrain/CustomBundle/SearchBundle/Controller/BrowseCategoryController.php(245): App\OfficeBrain\Bundle\SearchBundle\Manager\Extended\SolrSearchExtended->searchFilter(Object(App\OfficeBrain\Bundle\SearchBundle\Form\Data\ProductSearchData))
#8 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(181): App\project\OfficeBrain\CustomBundle\SearchBundle\Controller\BrowseCategoryController->categoryProductListAction(Object(Symfony\Component\HttpFoundation\Request))
#9 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#10 /var/www/html/vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 /var/www/html/public/index.php(25): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}
thrown in /var/www/html/vendor/solarium/solarium/src/Component/ResponseParser/NormalizeParsedJsonStatsTrait.php on line 24