Open azngeek opened 1 year ago
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
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.
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')