Fatal error: Uncaught Error: Call to a member function getNbResults() on null in /app/src/ACCBundle/Services/SearchService.php:389
Stack trace:
#0 /app/src/ACCBundle/Controller/TagViewController.php(223): App\ACCBundle\Services\SearchService->formatDataToApi(Array, Array)
#1 /app/src/ACCBundle/Controller/TagViewController.php(64): App\ACCBundle\Controller\TagViewController->taxonomyViewAction(Object(Netgen\TagsBundle\View\TagView), Array)
#2 /app/vendor/symfony/http-kernel/HttpKernel.php(163): App\ACCBundle\Controller\TagViewController->viewAction(Object(Netgen\TagsBundle\View\TagView))
#3 /app/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#4 /app/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#5 /app/public/index.php(50): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#6 {main}
thrown in /app/src/ACCBundle/Services/SearchService.php on line 389