- Issue created by @couloir007
- π·πΊRussia Chi
This needs steps to reproduce on fresh Drupal environment.
I upgraded to Drupal 10.3 and in a twig template, I had the following:
{% set output = drupal_view('view_name', 'machine_name' ) %}
{{ output }}
Which worked fine. Now I get the following error.
InvalidArgumentException: "attributes" is an invalid render array key. Value should be an array but got a object. in Drupal\Core\Render\Element::children() (line 97 of /app/web/core/lib/Drupal/Core/Render/Element.php).
I spent 5+ hours chasing this down and then finally found a new issue similar but not exactly complaining about 10.3. I downgraded to 10.2 and the issue went away.
Active
3.3
Code
This needs steps to reproduce on fresh Drupal environment.