Skip to content

Fatal Error when trying to process payment #376

Open

Description

@azngeek

I do have a strange behaviour i was not able to see in other tickets. The shopware 5 setup is based on composer, so the extension is also installed via composer and the PHP-Version used is PHP 8.

When trying to process the payment in the cart page, the server will throw a HTTP 500. This is the log i get.

image

Based on the error i assume that the Plugin-Handler should check for a specific object, but as it is NULL, PHP 8 will throw an exception. I have no clue, if this might be a mollie error, as i do not have the same behaviour with the integrated Pay Pal payment.

vendor/shopware/shopware/engine/Library/Enlight/Event/Handler/Plugin.php(148): method_exists(NULL, 'onOrder')

Activity

  1. boxblinkracer commented on Jun 12, 2023

    @boxblinkracer
    Collaborator

    Hi there

    mhm...unfortunately there are some more method_exists in the plugin
    but at least i have the cypress tests on php 8.1....and that all works
    so it could be that its another plugin or its interfering with one...

    can you reproduce it? do you have a log entry in the mollie logs?

    maybe you could add some logs and var dumps to the core plugin.php and output the backtrace? then we should be able to see from where the error comes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions