Fatal Error: array must be compatible with ModelerBase

Created on 18 June 2025, 15 days ago

Hello and thanks for all the efforts on developing v3,

Problem/Motivation

I've tried installing 3.0.0-alpha5 on my Drupal core 11.2.0-rc2 installation. But when I enable the module, I get the error message below:

Fatal error: Declaration of Drupal\bpmn_io\Plugin\modeler_api_modeler\BpmnIo::edit(Drupal\modeler_api\Plugin\modeler_api_model_owner\ModelOwnerInterface $owner, string $id, string $data, bool $isNew = false): array must be compatible with Drupal\modeler_api\Plugin\modeler_api_modeler\ModelerBase::edit(Drupal\modeler_api\Plugin\modeler_api_model_owner\ModelOwnerInterface $owner, string $id, string $data, bool $isNew = false, bool $readOnly = false): array in /var/www/html/web/modules/contrib/bpmn_io/src/Plugin/modeler_api_modeler/BpmnIo.php on line 109

What should be done?

Best,
Orkut

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇹🇷Turkey orkut murat yılmaz Istanbul

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

Comments & Activities

Production build 0.71.5 2024