• Resolved roeeyracing1

    (@roeeyracing1)


    Hello there.

    Woocommerce Admin does not show any data. No matter what section I choose (Revenue, Order, Products, Etc ) I always receive the same msg “There was an error getting your stats. Please try again.”

    I’ve tried to turn on/off, I removed and reinstalled, tried to import the data again, nothing helps!

    Can anyone help me please ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having the same problems.

    The WooCommerce log shows this, which may be relevant:

    2019-11-21T19:23:47+00:00 CRITICAL Uncaught Error: Class ‘Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore’ not found in /www/wp-content/plugins/woocommerce-admin/src/ReportsSync.php:328
    Stack trace:
    #0 /wordpress/wp-includes/class-wp-hook.php(286): Automattic\WooCommerce\Admin\ReportsSync::customers_lookup_update_init(”)
    #1 /wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /wordpress/wp-settings.php(549): do_action(‘wp_loaded’)
    #4 /www/wp-config.php(100): require_once(‘/wordpress/wp-s…’)
    #5 /wordpress/wp-config.php(5): require(‘/www/wp-config….’)
    #6 /wordpress/wp-load.php(37): require_once(‘/wordpress/wp-c…’)
    #7 /wordpress/wp-blog-header.php(13): require_once(‘/wordpress/wp-l…’)
    #8 /www/index.php(17): require(‘/wordpress/wp-b…’)
    #9 {main}
    thrown in /www/wp-content/plugins/woocommerce-admin/src/ReportsSync.php on line 328

    Moderator Hari Shanker R

    (@harishanker)

    Hi @tedslater & @roeeyracing1

    It appears that your errors may be related.

    The error message says: 2019-11-21T19:23:47+00:00 CRITICAL Uncaught Error: Class ‘Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore’ not found in /www/wp-content/plugins/woocommerce-admin/src/ReportsSync.php:328

    It’s making a reference to the CustomerDataStore class that is being initialized within the function: customers_lookup_update_init():
    https://github.com/woocommerce/woocommerce-admin/blob/master/src/ReportsSync.php#L328

    CustomerDataStore refers to the DataStore class itself, as you can see here: https://github.com/woocommerce/woocommerce-admin/blob/c0922c78c4a122734ff2e3c6d325c43bf3c424d3/src/API/Reports/Customers/Stats/DataStore.php#L12

    The DataStore class was added later in a new commit.

    It appears that, for some reason, the DataStore class is not being referenced. It could be because of missing files. Could you try reinstalling the plugin to see if that fixes the problem? https://wordpress.org/plugins/woocommerce-admin/

    Once that’s done, could you try re-importing the Customer History data? https://d.pr/i/fsZmHj

    This should fix the problem.

    Let us know if the problem persists.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sync Problems’ is closed to new replies.