Problem/Motivation

Steps to reproduce

1. Work around other install issue, and get the install to complete
2. Visit the homepage in the browser

The website encountered an unexpected error. Try again later.

Twig\Error\SyntaxError: An exception has been thrown during the compilation of a template (""Drupal\opigno_learning_path\TwigExtension\DefaultTwigExtension::getOperators()" must return an array of 2 elements, got 0.") in "themes/contrib/aristotle/templates/views/views-view--page.html.twig". in Twig\Environment->compileSource() (line -1 of themes/contrib/aristotle/templates/views/views-view--page.html.twig).

Twig\ExtensionSet->initExtensions() (Line: 435)
Twig\ExtensionSet->getExpressionParsers() (Line: 938)
Twig\Environment->getExpressionParsers() (Line: 529)
Twig\Lexer->getOperatorRegex() (Line: 136)
Twig\Lexer->initialize() (Line: 186)
Twig\Lexer->tokenize() (Line: 536)
Twig\Environment->tokenize() (Line: 589)
Twig\Environment->compileSource() (Line: 131)
Drupal\Core\Template\TwigEnvironment->compileSource() (Line: 408)
Twig\Environment->loadTemplate() (Line: 370)
Twig\Environment->load() (Line: 33)
twig_render_template() (Line: 348)
Drupal\Core\Theme\ThemeManager->render() (Line: 490)
Drupal\Core\Render\Renderer->doRender() (Line: 503)
Drupal\Core\Render\Renderer->doRender() (Line: 248)
Drupal\Core\Render\Renderer->render() (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->{closure:Drupal\Core\Render\MainContent\HtmlRenderer::prepare():231}() (Line: 637)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 231)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 201)
Drupal\page_cache\StackMiddleware\PageCache->fetch() (Line: 138)
Drupal\page_cache\StackMiddleware\PageCache->lookup() (Line: 87)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Proposed resolution

Maybe Opigno isn't compatible with PHP 8.4?

Remaining tasks

User interface changes

API changes

Data model changes

Comments

dalin created an issue.