Invalid Argument 1 Passed

Created on 18 May 2022, about 2 years ago
Updated 17 February 2023, over 1 year 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.69.0 2024