Fatal error: Declaration of Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget\DropzoneJsEbWidget::__sleep() must be compatible with Drupal\Core\Plugin\PluginBase::__sleep()

Created on 16 June 2025, about 1 month ago

Problem/Motivation

Dropzonejs version: 8.x-2.11
Drupal version: 11.1.8
Entity browser version: 8.x-2.13

When I click on a button to display the modal dropzonejs browser I get this error:

Fatal error: Declaration of Drupal\dropzonejs_eb_widget\Plugin\EntityBrowser\Widget\DropzoneJsEbWidget::__sleep() must be compatible with Drupal\Core\Plugin\PluginBase::__sleep(): array in /var/www/html/modules/contrib/dropzonejs/modules/eb_widget/src/Plugin/EntityBrowser/Widget/DropzoneJsEbWidget.php on line 549.

It worked OK with Drupal version 10.4.7

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.11

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia apiddington

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

Comments & Activities

Production build 0.71.5 2024