Error when creating invoice
-
Hello!
Since the last update, I get this error on the invoice when I create one:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Mollie_WC_Helper_GatewaySurchargeHandler::setHiddenOrderId(), 3 passed in /customers/3/4/4/juwelou.be/httpd.www/wp-includes/class-wp-hook.php on line 292 and exactly 4 expected in /customers/3/4/4/juwelou.be/httpd.www/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/GatewaySurchargeHandler.php:28 Stack trace: #0 /customers/3/4/4/juwelou.be/httpd.www/wp-includes/class-wp-hook.php(292): Mollie_WC_Helper_GatewaySurchargeHandler->setHiddenOrderId(209, Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\Overrides\Order)) #1 /customers/3/4/4/juwelou.be/httpd.www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #2 /customers/3/4/4/juwelou.be/httpd.www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /customers/3/4/4/juwelou.be/httpd.www/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(445): do_action('woocommerce_ord...', 209, Object(WC_Order_Item_Product), in /customers/3/4/4/juwelou.be/httpd.www/wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Helper/GatewaySurchargeHandler.php on line 28
What is wrong?
Thank you!
- The topic ‘Error when creating invoice’ is closed to new replies.