Render api fails because of invalid form element

Created on 1 December 2016, about 8 years ago
Updated 2 May 2024, 8 months ago

User error: "bundle" is an invalid render array key

is displayed when you add a content type.

See the following https://www.drupal.org/node/1283892 β†’ issue.

Turns out that

$form['bundle'] = $bundle_id[$form_id];

Is not a valid form element.

See my attached patch.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom tresti88 Manchester

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024