Hi @oshika35,
Are you using the latest version 7.0.2? Also, could you please share the error message with us so we can understand it better?
Version 7 is a major code refactor and other plugins that previously interacted with Mollie may need to be updated to work with the latest Mollie version.
I suggest first testing it with version 6.7.0 to see if the behavior persists: https://downloads.wp.xz.cn/plugin/mollie-payments-for-woocommerce.6.7.0.zip
Kind regards,
Niklas
Hello @niklasinpsyde
I was using 7.0.1 and I just updated to 7.0.2. After that, the problem seems to be gone.
If this can help you, find the log below:
An error of type E_ERROR was caused at the line 48 of the file /home/private/website.com/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/Api.php. Error message: Uncaught TypeError: preg_match() expects parameter 2 to be string, bool given in /home/private/website.com/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/Api.php:48
Stack trace:
#0 /home/private/website.com/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/Api.php(48): preg_match('#^(live|test)_\\...', true)
#1 /home/private/website.com/wp-content/plugins/mollie-payments-for-woocommerce/src/Payment/PaymentModule.php(406): Mollie\WooCommerce\SDK\Api->getApiClient(true)
#2 /home/private/website.com/wp-includes/class-wp-hook.php(309): Mollie\WooCommerce\Payment\PaymentModule->cancelOrderAtMollie(980)
#3 /home/private/website.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#4 /home/private/website.com/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#5 /home/private/website.com/wp-content/plugins/woocommerce/includes/class-wc-order.php(364): do_action('woocommerce_ord...', 980, Object(Automattic\WooCommerce\Admin\Overrides\O
(Some parts were in my langage, I translated them in English)
You can mark the thread as resolved.
Best regards,
Oshika
Thanks for the feedback. Version 7.0.2 addressed an issue with the SDK which could have been responsible for the error, but I can’t say for sure.
If you notice anything strange, then don’t hesitate to let us know and/or consider downgrading to version 6.7.0 until we have shipped some additional improvements.
Thanks!
Kind regards,
Niklas