Problem/Motivation
Drupal core 10.4
TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /var/www/html/drupal/modules/contrib/commerce_vipps/src/PluginForm/OffsiteRedirect/VippsLandingPageRedirectForm.php on line 131 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).
Steps to reproduce
Initiate payment with Vipps
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork commerce_vipps-3505478
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
Comment #2
oleksandr yushchenko commentedComment #4
eiriksmThis looks good to me.
The only thing is we are per the info file still compatible with Drupal 9.x here. Is it allowed to pass them in that order on Drupal 9? Just asking since I don't have it in front of me, and I think it is?
Comment #5
oleksandr yushchenko commentedYes.
D9:
D10:
Comment #7
oleksandr yushchenko commented