PHP Fatal error: Declaration of Drupal\bpmn_io\Plugin\modeler_api_modeler\BpmnIo::enable()

Created on 8 June 2025, 3 months ago

Problem/Motivation

PHP Fatal error: Declaration of Drupal\bpmn_io\Plugin\modeler_api_modeler\BpmnIo::enable(): Drupal\modeler_api\Plugin\modeler_api_modeler\ModelerInterface must be compatible with Drupal\modeler_api\Plugin\modeler_api_modeler\ModelerBase::enable(Drupal\modeler_api\Plugin\modeler_api_model_owner\ModelOwnerInterface $owner): Drupal\modeler_api\Plugin\modeler_api_modeler\ModelerInterface in /var/www/html/web/modules/contrib/bpmn_io/src/Plugin/modeler_api_modeler/BpmnIo.php on line 310

Steps to reproduce

install modeler_api
composer require 'drupal/modeler_api:^1.0@alpha'
install bmpn_io
composer require 'drupal/bpmn_io:^3.0@alpha'
drush en bpmn_io
drush cr

Proposed resolution

Need code refactor

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India sudiptadas19

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

Comments & Activities

Production build 0.71.5 2024