Problem/Motivation

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)

Steps to reproduce

This warning is shown when a proc field is rendered using ProcArmouredFieldFormatter.

Proposed resolution

Declare the class as a string instead of an array.

Issue fork proc-3442429

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sdstyles created an issue. See original summary.

abhishek_gupta1’s picture

Status: Active » Reviewed & tested by the community

@revagomes , I have verified issue locally , above MR fixed the issue. moving RTBC++.

  • sdstyles committed a5f3e944 on 10.0.x
    Issue #3442429: Invalid render array key in ProcArmouredFieldFormatter
    
rodrigo panchiniak fernandes’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.