Support » Plugin: WooCommerce Admin » Not showing data Reports from Analytics

  • Resolved Muhammad Mubeen


    I am unable to get the analytics of current date, yesterday and last week(shows 0 0 but there are multiple orders i received in working days).
    Have a look on Screenshot

    When i filter data using last month or last year and rest options, it display those analytics.

    but i am facing problems of getting real time analytics of current date and yesterday.
    Any solution?

Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Support Mike S


    Hi @smubeen0786 ,

    I know this is probably obvious, but just to be sure, did you have sales on those days? (Under WooCommerce > Orders)

    If you recently updated WooCommerce, you may need to update the database, as well. If you go to WooCommerce > Status > System Status, you can check to see what version of WooCommerce and the WooCommerce database you have.

    WooCommerce version on System Status Report
    Link to image:

    WooCommerce database version on System Status Report
    Link to image:

    If the database is an earlier version than WooCommerce, you should see a prompt to update the database.

    WooCommerce Database Update notice
    Link to image:

    Click the Update WooCommerce Database button to start the update process. Once you do that, you’ll see the following notice:

    WooCommerce Database Update in progress
    Link to image:

    You can click View progress to monitor the database update on the Scheduled Actions tab. Once the update is complete, you’ll see the dismissable update complete banner:

    WooCommerce Database Update complete notice
    Link to image:

    You can read more about the database update process here.

    Let us know if that works for you!

    We are having the exact same issue, only the past couple days, prior to updating all our plugins, theme and core. We just updated everything and the issue persists. Also we have re-imported historical data but still nothing. The orders are there but are not being counted.

    I updated the wooocommerce version and also upgraded the database.
    now the version of Woocommerce is 4.5.1 and also Database version is 4.5.1. Now both of them are latest as per woocommerce version.
    But i am still facing the same problem. No changes. No analytics as mentioned above in my previous query.
    Still Looking for solution.

    Mark Robson


    Yes, I can confirm i am having the same issue on my sites.
    WooCommerce version:4.5.2
    WooCommerce database version:4.5.2
    Link to screen shot

    i can confirm there are have been orders.
    I have disabled all plug-ins and changed to wordpress default theme, same issue.

    • This reply was modified 1 month, 1 week ago by Mark Robson.
    Plugin Support Mike S


    <p>Hi @smubeen0786, @thewebsitepeople, and @kokomoweb ,</p>

    <p>Can you all go to WooCommerce > Status > Tools and click the Clear button to the right of Clear analytics cache at the very bottom of the page?</p>

    Image Link:</p&gt;

    <p>Check to see if the numbers are updated after that. If not, go to Analytics > Settings and Start the Import Historical Data tool at the bottom to import the missing information. The default options will bring in anything that’s missing and skip orders that are already there.</p>

    Image Link:</p&gt;

    <p>That should get the numbers current. After that, you can monitor for future updates. If it looks like it’s still not updating, you can check if the scheduled actions are running by searching for wc-admin_import_orders under WooCommerce > Status > Scheduled Actions. You should see a scheduled action for each new order. You can also check the logs under WP Admin > WooCommerce > Status > Logs around the time of the scheduled actions to see if there are any errors cropping up at that time.</p>

    <p>Let us know how that goes. Hopefully this is a one-off issue on your sites that can be corrected easily. Either way, I’d love to know how this works for you.</p>

    We did all these steps already. Strangely things get weird after the 12th of september, does that date ring a bell on your side?

    Mark Robson


    Thanks for the update,
    I have tried but on the import of Historical Data is does nothing,
    Screen shot
    it does not look like it is doing anything.
    after that the Scheduled Actions i am lost?


    We tried all poosible solution including that you suggested, but problem is still there..
    Thats why we had to think about 3rd party plugin and purchased to generate reports.

    Though problem is still there for in default analytics of woocommerce

    Plugin Support Mike S



    If you go to WooCommerce > Status > Scheduled Actions you’ll see a list of all scheduled actions on your site. If you search there for wc-admin_import_orders it should show all the actions that occurred for a new order to import it into your Analytics.

    Image Link:

    The Status will tell you if the action is Pending (waiting for its scheduled time to run), Completed, Canceled, or Failed. You should see one of those for each new order (The order number is in the Arguments column after 0 =>).

    @thewebsitepeople @smubeen0786 @kokomoweb ,

    Can you all share what you see for the scheduled actions and what errors you’re seeing under WooCommerce > Status > Logs (especially any fatal error logs)?

    We’ll need that information to try to locate what might be happening. This page explains more about the action scheduler, and this one explains how to check those logs.


    On my side I had already made sure there was no pending actions. Regarding the fatal error log this is what I have:

    2020-09-09T18:12:38+00:00 CRITICAL Object of class WP_Error could not be converted to string in /qzyjazjrvj/public_html/wp-content/themes/cle/woocommerce/single-product.php on line 187

    2020-09-09T18:13:02+00:00 CRITICAL Object of class WP_Error could not be converted to string in /qzyjazjrvj/public_html/wp-content/themes/cle/woocommerce/single-product.php on line 187

    2020-09-09T18:13:19+00:00 CRITICAL Object of class WP_Error could not be converted to string in /qzyjazjrvj/public_html/wp-content/themes/cle/woocommerce/single-product.php on line 187

    2020-09-09T18:13:41+00:00 CRITICAL Object of class WP_Error could not be converted to string in /qzyjazjrvj/public_html/wp-content/themes/cle/woocommerce/single-product.php on line 187

    • This reply was modified 1 month, 1 week ago by Kokomo.
    Mark Robson


    Many thanks for your help,
    The Scheduled Actions are all listed as complete,
    Screen shot

    Log is all ENCRYPTED??


    Mark Robson


    i have just changed to php version 7.4 and it looks like it may be fixed.
    will keep an eye and update

    We just updated to 7.4 (from 7.3) as a possible fix (thanks @thewebsitepeople), but unfortunately the issue is still there for us. Strangely some days are showing fine, some show close to zero sales (our website has a very large amount of transactions daily).

    Plugin Support Mike S


    @kokomoweb ,

    Those errors indicate there’s something going on with your theme that is causing things to not process properly. If it’s possible, can you switch to a default theme like Storefront or Twenty Twenty to see if that corrects the issue? You may want to try that on a staging site so it doesn’t affect your live site.

    @thewebsitepeople ,

    That’s good to hear! What version of PHP did you update from?

    Regarding that log, it looks like that’s from the FORM_ENCRYPT plugin. If you click the dropdown list on the right, it should show the other logs on your site, and you can then click “View” to view them individually:

    View other logs
    Link to image:

    If it comes up again, you may want to double check there.



    @mikestraw seems that error was brief while we did a change to the template and had been fixed minutes later. We also tried switching to storefront without any success.

Viewing 15 replies - 1 through 15 (of 27 total)
  • You must be logged in to reply to this topic.