• Hi,

    Since this morning this error is thrown out when adding a order as a shop manager.

    2024-09-09T09:06:10+00:00 CRITICAL Uncaught TypeError: Mollie\WooCommerce\MerchantCapture\Capture\Type\ManualCapture::enableOrderCaptureButton(): Argument #1 ($actions) must be of type array, null given, called in /home/hosting/domains/mywebshop.com/public_html/wp-includes/class-wp-hook.php on line 324 and defined in /home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/Capture/Type/ManualCapture.php:26 CONTEXT: {"error":{"type":1,"file":"/home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/Capture/Type/ManualCapture.php","line":26},"backtrace":["","#0 /home/hosting/domains/mywebshop.com/public_html/wp-includes/class-wp-hook.php(324): Mollie\WooCommerce\MerchantCapture\Capture\Type\ManualCapture->enableOrderCaptureButton()","#1 /home/hosting/domains/mywebshop.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()","#2 /home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(217): apply_filters()","#3 /home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(35): WC_Meta_Box_Order_Actions::get_available_order_actions_for_order()","#4 /home/hosting/domains/mywebshop.com/public_html/wp-admin/includes/template.php(1456): WC_Meta_Box_Order_Actions::output()","#5 /home/hosting/domains/mywebshop.com/public_html/wp-admin/edit-form-advanced.php(716): do_meta_boxes()","#6 /home/hosting/domains/mywebshop.com/public_html/wp-admin/post-new.php(75): require('/home/hosting...')","#7 {main}","thrown"]}

    When debug is on a fatal error appears in the right column under ‘order actions’:

    Fatal error: Uncaught TypeError: Mollie\WooCommerce\MerchantCapture\Capture\Type\ManualCapture::enableOrderCaptureButton(): Argument #1 ($actions) must be of type array, null given, called in /home/hosting/domains/mywebshop.com/public_html/wp-includes/class-wp-hook.php on line 324 and defined in /home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/Capture/Type/ManualCapture.php:26 Stack trace: #0 /home/hosting/domains/mywebshop.com/public_html/wp-includes/class-wp-hook.php(324): Mollie\WooCommerce\MerchantCapture\Capture\Type\ManualCapture->enableOrderCaptureButton() #1 /home/hosting/domains/mywebshop.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(217): apply_filters() #3 /home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(35): WC_Meta_Box_Order_Actions::get_available_order_actions_for_order() #4 /home/hosting/domains/mywebshop.com/public_html/wp-admin/includes/template.php(1456): WC_Meta_Box_Order_Actions::output() #5 /home/hosting/domains/mywebshop.com/public_html/wp-admin/edit-form-advanced.php(716): do_meta_boxes() #6 /home/hosting/domains/mywebshop.com/public_html/wp-admin/post-new.php(75): require('/home/u142022p1...') #7 {main} thrown in /home/hosting/domains/mywebshop.com/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/Capture/Type/ManualCapture.php on line 26

    The rest of the page is blanc.

    These issues do not appear when logged in as an admin.

    Doesn’t seem hard to debug but just dont have the time.

Viewing 1 replies (of 1 total)
  • Plugin Support Femi

    (@femiyb)

    Hello @aristotle25

    I could not reproduce the issue as you have described when testing on my side.

    You may want to perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for?WooCommerce and?Mollie Payments for WooCommerce to see if the behavior persists.

    Here’s a guide that explains the steps in more detail: How to test for conflicts
    Please let us know how this works out for you.

    Regards,
    Femi

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.