- Issue created by @Yuri
- 🇩🇪Germany jurgenhaas Gottmadingen
Hi @Yuri this sounds like a duplicate of 🐛 Cannot use object of type PluralTranslatableMarkup as array Fixed where we thought we got this fixed. Looks like we didn't get it all. Could you please let us know what other modules you have installed? Maybe one of them provides an action plugin which does things that we haven't captured yet.
- 🇩🇪Germany jurgenhaas Gottmadingen
I just reviewed the original post which states that Open Social is being used, I missed that before I wrote my comment. Then it is the same issue as the linked one.
And I just reviewed the code. In version 1.1.2 of ECA this is certainly fixed. The stack trace looks like it is from version 1.1.1 when I compare the line number. @Yuri could you please verify that you've installed 1.1.2?
- 🇳🇱Netherlands Yuri
Hi Jurgen, the modules page says ECA core is indeed version 1.1.1.
Which is a bit strange because I installed it using the composer link on the project page, which says:
1.1.2 Stable release covered by the Drupal Security Team released 1 March 2023. composer require 'drupal/eca:^1.1'I'll install the dev version now, thanks
- 🇳🇱Netherlands Yuri
Using the current ECA dev version:
The BPMN.iO display now appears, but on top of that a bunch of error messages:Warning: Trying to access array offset on value of type null in Drupal\social_group\Plugin\Action\AddMembersToGroup->buildConfigurationForm() (line 117 of profiles/contrib/social/modules/social_features/social_group/src/Plugin/Action/AddMembersToGroup.php). Warning: Trying to access array offset on value of type null in Drupal\social_group\Plugin\Action\AddMembersToGroup->buildConfigurationForm() (line 129 of profiles/contrib/social/modules/social_features/social_group/src/Plugin/Action/AddMembersToGroup.php). Warning: Array to string conversion in Drupal\eca_modeller_bpmn\ModellerBpmnBase->optionsField() (line 838 of modules/contrib/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php). Warning: Array to string conversion in Drupal\eca_modeller_bpmn\ModellerBpmnBase->optionsField() (line 838 of modules/contrib/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php) Warning: Array to string conversion in Drupal\eca_modeller_bpmn\ModellerBpmnBase->optionsField() (line 838 of modules/contrib/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php). Warning: Trying to access array offset on value of type null in Drupal\social_group\Plugin\Action\ChangeGroupMembershipRole->buildConfigurationForm() (line 138 of profiles/contrib/social/modules/social_features/social_group/src/Plugin/Action/ChangeGroupMembershipRole.php). Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 312 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).
The full stack traces are here: https://gist.github.com/Corvalan/bb55278ac50e387ba8f95268a334f3b7
- 🇩🇪Germany jurgenhaas Gottmadingen
Well, I would really try to get 1.1.2 properly installed. With
composer require drupal/eca
you should by default always get the latest stable version. And afterwards you can executecomposer show drupal/eca
which shows you the installed version with a lot of more detail.Regardless, the warnings are all coming from the open social plugins. What ECA does, is to ignore such plugins that behave strangely. To find out it instantiates all plugins and then ignores those that throw exceptions, errors or warnings like those above. But the warnings you've show are not displayed on screen, are they? When you configure Drupal to not show warnings, they should only got into the log, but not onto screen.
- Status changed to Postponed: needs info
about 2 years ago 12:14pm 27 March 2023 - 🇩🇪Germany jurgenhaas Gottmadingen
What's the current status on this issue?
- Status changed to Fixed
almost 2 years ago 8:27am 13 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.