TypeError: Argument 1 passed to Drupal\Core\Form\FormState::setError() must be of the type array

Created on 26 December 2022, almost 2 years ago
Updated 14 April 2023, over 1 year ago

I get the following error while remove paragraph item:
TypeError: Argument 1 passed to Drupal\Core\Form\FormState::setError() must be of the type array, null given.

web/core/lib/Drupal/Core/Field/WidgetBase.php on line 578 in Drupal\Core\Form\FormState->setError()

🐛 Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

🇯🇴Jordan mahmoud barhouma

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.

  • 🇦🇺Australia pameeela

    I think this is probably related to paragraph module rather than core, but it also sounds like a PHP compatibility issue. Is your site running PHP 8.0 or greater, and have you updated to the appropriate version of paragraph?

    In order to fix any bug, we need specific steps to reproduce it, and usually a test to show the fix works as advertised.

  • Status changed to Closed: cannot reproduce over 1 year ago
Production build 0.71.5 2024