• Resolved svenms

    (@svenms)


    Hello,

    We have Order Attribution disabled but we keep seen this error:

    [20-Jun-2024 04:07:06 America/Santiago] PHP Fatal error:  Uncaught Error: Call to undefined method WC_Order::get_report_customer_id() in /home/jzv4lkm/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Orders/Stats/DataStore.php:542
    Stack trace:
    #0 /home/jzv4lkm/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Orders/Stats/DataStore.php(502): Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore::update()
    #1 /home/jzv4lkm/public_html/wp-content/plugins/woocommerce-multistore/includes/abstracts/class-wc-multistore-abstract-order-child.php(108): Automattic\WooCommerce\Admin\API\Reports\Orders\Stats\DataStore::sync_order()
    #2 /home/jzv4lkm/public_html/wp-content/plugins/woocommerce-multistore/includes/ajax/class-wc-multistore-ajax-order-master.php(45): WC_Multistore_Abstract_Order_Child->save()
    #3 /home/jzv4lkm/public_html/wp-includes/class-wp-hook.php(324): WC_Multistore_Ajax_Order_Master->wc_multistore_import_order()
    #4 /home/jzv4lkm/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #5 /home/jzv4lkm/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /home/jzv4lkm/public_html/wp-admin/admin-ajax.php(207): do_action()
    #7 {main}
    thrown in /home/jzv4lkm/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Orders/Stats/DataStore.php on line 542
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @svenms,

    Thanks for opening your own thread about this issue! First, I’d like to learn more about your site and about the problem at hand. Please answer the following questions:

    • Are your WordPress and WooCommerce versions up to date?
    • Is your site’s theme up to date as well, with no old templates of WooCommerce in use?
    • Did you make any recent changes to your site around the time this error started? Maybe you ran an update, installed a new plugin, used a code snippet, etc.
    • Which action are you trying to performing when you see this error?
    • Have you had a chance to run a conflict test yet?

    Thanks!
    -OP

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there ?? ,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    All the best,
    Omar

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call to undefined method WC_Order::get_report_customer_id()’ is closed to new replies.