Fatal error: Declaration of Drupal\export_action_for_default_content\Plugin\Action\VBOExportActionForDefaultContent::buildPreConfigurationForm

Created on 13 May 2023, over 1 year ago
Updated 1 August 2024, 4 months ago

Problem/Motivation

HI,
after enable the module i have this fatal error:

Fatal error: Declaration of Drupal\export_action_for_default_content\Plugin\Action\VBOExportActionForDefaultContent::buildPreConfigurationForm(array $form, array $values, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\views_bulk_operations\Action\ViewsBulkOperationsPreconfigurationInterface::buildPreConfigurationForm(array $element, array $values, Drupal\Core\Form\FormStateInterface $form_state): array in /home/sc1cloutclo/public_html/D9/DEV/modules/contrib/export_action_for_default_content/src/Plugin/Action/VBOExportActionForDefaultContent.php on line 51

Steps to reproduce

enable the module
drupal 9.5.9
default content : 2.0.0-alpha2
bulk: 4.2.3
action: 9.5.9

Proposed resolution

aplly the two patch:
Not compatible with Interface method
Not compatible with VBO 4.x

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024