The website encountered an unexpected error. Please try again later.
TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in count() (line 56 of modules/custom/question/src/Service/VisitorService.php).
count() (Line: 56) Drupal\question\Service\VisitorService->getCurrentlyPlaying() (Line: 28) Drupal\question\Plugin\Block\LiveDataBlock->build() (Line: 138) Drupal\twig_tweak\View\BlockViewBuilder->build() (Line: 147) Drupal\twig_tweak\TwigTweakExtension::drupalBlock() (Line: 199) __TwigTemplate_1c33a2ccac08bf6ec64a83e13b9fa962c8ec1e0846ce3ee7f48b5bdace38bdf2->doDisplay() (Line: 405) Twig\Template->displayWithErrorHandling() (Line: 378) Twig\Template->display() (Line: 390) Twig\Template->render() (Line: 55) twig_render_template() (Line: 384) Drupal\Core\Theme\ThemeManager->render() (Line: 422) Drupal\Core\Render\Renderer->doRender() (Line: 201) Drupal\Core\Render\Renderer->render() (Line: 241) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 564) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 242) Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 132) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() call_user_func() (Line: 142) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 164) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch() (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup() (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23) Stack\StackedHttpKernel->handle() (Line: 709) Drupal\Core\DrupalKernel->handle() (Line: 19)