Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error when trying to process payment #376

Open
azngeek opened this issue Apr 27, 2023 · 1 comment
Open

Fatal Error when trying to process payment #376

azngeek opened this issue Apr 27, 2023 · 1 comment

Comments

@azngeek
Copy link

azngeek commented Apr 27, 2023

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')

@boxblinkracer
Copy link
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
Projects
None yet
Development

No branches or pull requests

2 participants