Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Php 8.1.27 causes issues with select component #1437

Open
ansergeyg opened this issue Mar 26, 2024 · 0 comments
Open

Php 8.1.27 causes issues with select component #1437

ansergeyg opened this issue Mar 26, 2024 · 0 comments

Comments

@ansergeyg
Copy link

ansergeyg commented Mar 26, 2024

Hi there,

If you bring the latest version of php 8.1 (fpfis/httpd-php-dev:8.1) which is 8.1.27 and test twig components like select

You will see an error:

Message User error: "0" is an invalid render array key in Drupal\Core\Render\Element::children() (line 98 of core/lib/Drupal/Core/Render/Element.php) #0 core/includes/bootstrap.inc(164): _drupal_error_handler_real() #1 [internal function]: _drupal_error_handler() #2 core/lib/Drupal/Core/Render/Element.php(98): trigger_error() #3 core/lib/Drupal/Core/Render/Renderer.php(451): Drupal\Core\Render\Element::children() #4 lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender() #5 /core/lib/Drupal/Core/Template/TwigExtension.php(475): Drupal\Core\Render\Renderer->render() #6 sites/default/files/php/twig/6602934888ec5_select_XFQC9JUWLGqrZOhbWIBg3A7er/1qFytBmoWdQr81HUnmMW9c2EtzVSzjwm5yaMJvDvoNk.php(157): Drupal\Core\Template\TwigExtension->escapeFilter() #7 vendor/twig/twig/src/Template.php(394): __TwigTemplate_ad63a6ad63ab64ddff20268e5bd376dd->doDisplay() #8 vendor/twig/twig/src/Template.php(367): Twig\Template->displayWithErrorHandling() #9 sites/default/files/php/twig/6602934888ec5**_select.html.twig**_jUeaaZcPkoCt_FGz6X_tf-j-s/h_PmUuFho_N7uiAoKbaWXnxeoL2rZS-ZdXlx0Z92Adk.php(149): Twig\Template->display() #10 vendor/twig/twig/src/Template.php(394): __TwigTemplate_5d45a4e345b9064fec7d5d6782e90451->doDisplay() #

oe_theme version is v3.10.0
Regards, Sergey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant