Menu item "Forums" error

Created on 3 June 2022, over 2 years ago
Updated 2 June 2024, 6 months ago

Problem/Motivation

When menu item "Forums" clicked found an error at line 82 of themes/asuma_/templates/dataset/forum-list.html.twig.

Steps to reproduce

https://www.asuma.com.br/site > https://www.asuma.com.br/site/forum

Ocorreu um erro inesperado no site. Por favor tente novamente mais tarde.

Twig\Error\RuntimeError: The "filter" filter expects an array or "Traversable", got "integer". in twig_array_filter() (line 82 of themes/asuma_/templates/dataset/forum-list.html.twig).

__TwigTemplate_7661d6964f1d7552803fc7047f2a81c2b17442461df8baea3efab6a01ab2552c->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: 479)

Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 44)

__TwigTemplate_0d64024518d46c82b0cbe83e36c53b76a39897a9d4cf172469349612fa109ac1->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: 435)

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: 163)

Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 80)

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: 50)

Drupal\ban\BanMiddleware->handle() (Line: 48)

Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)

Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)

Stack\StackedHttpKernel->handle() (Line: 708)

Drupal\Core\DrupalKernel->handle() (Line: 19)

Proposed resolution

We do not know how to fix it

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇧🇷Brazil clecio.dias

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024