• Resolved Artem Yanin

    (@brainiacx)


    Hey guys, just updated from 7.4.1 to 7.5…
    orders page is dead with fatal error:

    [05-Feb-2024 11:25:37 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Mollie\WooCommerce\MerchantCapture\MerchantCaptureModule::Mollie\WooCommerce\MerchantCapture\{closure}() must be an instance of Mollie\Api\Resources\Payment, instance of Mollie\Api\Resources\Order given, called in public_html/wp-includes/class-wp-hook.php on line 324 and defined in public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/MerchantCaptureModule.php:156

    HPOS enabled, latest woo/wp versions installed.
    Rolled back to 7.4.1

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same here

    Plugin Support Femi

    (@femiyb)

    Hello @brainiacx and @emkemk

    Thank you for the report, the team is investigating this issue and will provide a solution shortly. In the meantime, we recommend going back to 7.4.1

    Alternatively, you could use this filter as a workaround to fix this issue on version 7.5.0

    add_filter('mollie_wc_gateway_enable_merchant_capture_module', '__return_false');

    Regards,
    Femi

    • This reply was modified 1 year, 1 month ago by Femi.

    @femiyb Thanks for the fast response and proposed workaround! I’ve downgraded the plugin and will wait for the fix ??

    Plugin Author Mollie

    (@mollieintegration)

    Hi @brainiacx and @emkemk
    Are you currently using the Payments API or the Orders API in your integration with Mollie?

    Could you provide details about any other plugins you have installed alongside Mollie?

    • This reply was modified 1 year, 1 month ago by Mollie.
    Thread Starter Artem Yanin

    (@brainiacx)

    Hello, @mollieintegration
    We are using orders API
    I don’t think it’s good to publish a complete list of our plugins from the security point of view of our store.
    We are using woocommerce with HPOS and this error we receiving on standard orders page. By text of the error i can tell you that it looks almost same issue as you had with 7.4.1-again mess in Payment/Order objects, but now in another place

    Plugin Support Femi

    (@femiyb)

    Hello @brainiacx

    Thank you for the feedback.
    The team has prepared a fix that should resolve the reported issue. Please let us know how it works for you when using this test plugin version: https://mollie.inpsyde.com/beta
    If you would like to share additional data like your WC status report, you can temporarily host it in our privatebin or privately reach the Mollie tech support directly from here: https://mollie.com/contact/merchants
    Thank you!

    Regards,
    Femi.

    Plugin Author Mollie

    (@mollieintegration)

    Hi @brainiacx
    Did you manage to have a look in the above? And do you think it would be possible to share your WC Satus report?

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    Since we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions for us, please open a new thread, because we will mark this one as resolved.

    Kind regards,
    Joost

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘fatal error after update to 7.5’ is closed to new replies.