Invalid Argument 1 Passed

Created on 18 May 2022, over 2 years ago
Updated 17 February 2023, almost 2 years ago

Problem/Motivation

With a D9
Using Layout Builder when submitting the Argument 1 Passed must implement interface Drupal\Core\Form\FormInterface, array given

Steps to reproduce

Drupal 9, Layout builder

When adding a block and submitting the form "Add Block"
It throws and error Argument 1 Passed must implement interface Drupal\Core\Form\FormInterface, array given
And the form does not submit.
Im not overly familiar with inner workings here but it does look like there is an array passed thepatch attached seems to squash the error

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇪Ireland gavin.hughes

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