Documentation for default view or setup steps

Created on 13 August 2023, over 1 year ago
Updated 20 September 2024, 7 months ago

Drupal 10.1.2

In our test setup we created a view using Custom Elements as the formatter and tried with content, and fields and nothing renders in the preview. Once you check this on the Nuxt end you get "A client error happened".

And this is in the Drupal Logs:

User error: "0" is an invalid render array key in Drupal\Core\Render\Element::children() (line 98 of /var/www/html/web/core/lib/Drupal/Core/Render/Element.php)

Message User error: "total_pages" is an invalid render array key in Drupal\Core\Render\Element::children() (line 98 of /var/www/html/web/core/lib/Drupal/Core/Render/Element.php)

Message	User error: "current" is an invalid render array key in Drupal\Core\Render\Element::children() (line 98 of /var/www/html/web/core/lib/Drupal/Core/Render/Element.php)

We also went ahead and updated the view formatter to unformatted and the preview rendered the title however the Nuxt end gave the same error.

Any thoughts or suggestions as to what we need to change? Perhaps this is not working with Drupal 10 at this stage?

📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇺🇞United States glynster

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the “VDC” tag instead.

  • Documentation

    Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024