Fatal error on version 7.5.2

[ad_1]

Mollie\WooCommerce\MerchantCapture\OrderListPaymentColumn::Mollie\WooCommerce\MerchantCapture\{closure}(): Argument #2 ($order) must be of type Automattic\WooCommerce\Admin\Overrides\Order, WC_Order given

Getting the error stated above in version 7.5.2. In the following line:

add_action('woocommerce_shop_order_list_table_custom_column', function (string $column, Order $order) {
            $this->renderColumnValue($column, $order->get_id());
        }, 10, 2);

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer