• Resolved catellor93

    (@catellor93)


    Hi, i have problems when i set completed multiple orders. It cancel my orders and go in error.

    Uncaught Error: Call to a member function get_customer_id() on bool in /home/****/*******/wp-content/plugins/woocommerce/includes/wc-user-functions.php:288

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter catellor93

    (@catellor93)

    I have updated WordPress to 5.7 and all plugins.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @catellor93`

    This means your $product variable is empty and the get_type() expects the product object.

    Are you using any custom code snippets in your site that changes the orders or order statuses in any way? Perhaps a plugin?

    Could you please paste your sites’ status back here so we can take a closer look? You’ll find the status under “WooCommerce > Status” page.

    Cheers!

    Thread Starter catellor93

    (@catellor93)

    Thank you for reply
    I solved, it was a plugin, i reinstalled and resolved problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when set status of multiple orders’ is closed to new replies.