I am getting the following error when visiting the orders page in the wp-admin.
WordPress version 6.5.2
Current plugin: Mollie Payments for WooCommerce (version 7.5.2)
Woocommerce version: 8.8.3
PHP version 8.1.24
Error Details
An error of type E_ERROR was caused in line 19 of the file /var/www/html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/OrderListPaymentColumn.php. Error message: Uncaught TypeError: Mollie\WooCommerce\MerchantCapture\OrderListPaymentColumn::Mollie\WooCommerce\MerchantCapture{closure}(): Argument #2 ($order) must be of type Automattic\WooCommerce\Admin\Overrides\Order, WC_Order given, called in /var/www/html/wp-includes/class-wp-hook.php on line 324 and defined in /var/www/html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/OrderListPaymentColumn.php:19
Stack trace:
I am getting the following error when visiting the orders page in the wp-admin.
WordPress version 6.5.2 Current plugin: Mollie Payments for WooCommerce (version 7.5.2) Woocommerce version: 8.8.3 PHP version 8.1.24
Error Details
An error of type E_ERROR was caused in line 19 of the file /var/www/html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/OrderListPaymentColumn.php. Error message: Uncaught TypeError: Mollie\WooCommerce\MerchantCapture\OrderListPaymentColumn::Mollie\WooCommerce\MerchantCapture{closure}(): Argument #2 ($order) must be of type Automattic\WooCommerce\Admin\Overrides\Order, WC_Order given, called in /var/www/html/wp-includes/class-wp-hook.php on line 324 and defined in /var/www/html/wp-content/plugins/mollie-payments-for-woocommerce/src/MerchantCapture/OrderListPaymentColumn.php:19 Stack trace:
0 /var/www/html/wp-includes/class-wp-hook.php(324): Mollie\WooCommerce\MerchantCapture\OrderListPaymentColumn->Mollie\WooCommerce\MerchantCapture{closure}()
1 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
2 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
3 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php(184): do_action()
4 /var/www/html/wp-admin/includes/class-wp-list-table.php(1796): Automattic\WooCommerce\Internal\Admin\Orders\ListTable->column_default()
5 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php(148): WP_List_Table->single_row_columns()
6 /var/www/html/wp-admin/includes/class-wp-list-table.php(1721): Automattic\WooCommerce\Internal\Admin\Orders\ListTable->single_row()
7 /var/www/html/wp-admin/includes/class-wp-list-table.php(1706): WP_List_Table->display_rows()
8 /var/www/html/wp-admin/includes/class-wp-list-table.php(1633): WP_List_Table->display_rows_or_placeholder()
9 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/ListTable.php(267): WP_List_Table->display()
10 /var/www/html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(298): Automattic\WooCommerce\Internal\Admin\Orders\ListTable->display()
11 /var/www/html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->output()
12 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
13 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
14 /var/www/html/wp-admin/admin.php(259): do_action()
15 {main}
thrown
When downgrading to Mollie Payments version 7.4.1 while still on the newest Woocommerce version (8.8.3) the error disappears.