Problem/Motivation

The change that was done in commit #b99c0cf was completely untested. $webform->getHandlers() never returns an array, but an instance of WebformHandlerPluginCollection. This causes Mollie callbacks to fail. The following error is thrown:

TypeError: array_filter(): Argument #1 ($array) must be of type array, Drupal\webform\Plugin\WebformHandlerPluginCollection given in array_filter() (regel 43 van /[..]/web/modules/contrib/cmrf_form_processor/modules/cmrf_form_processor_mollie/src/EventSubscriber/MollieFormProcessorSubscriber.php).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Issue summary: View changes
Status: Active » Needs review

dieterholvoet’s picture

Assigned: dieterholvoet » Unassigned
dieterholvoet’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.