• Resolved Pat K

    (@blackcapdesign)


    I have this plugin installed on several sites and recently noticed that on 2 sites that use BACS (Bank Transfers) there is no data in the new ‘Customer history’ dialog: Total orders 0, Total revenue 0. Similarly when I try to publish a report of the orders within a specified time range, there is zero data. Yikes. After much testing, it appears that this plugin is the culprit.

    For others experiencing this problem, here’s what I did to resolve the problem:
    1) deactivated & deleted this plugin
    2) installed Order Status History for WooCommerce and used the ‘Rebuild History Cache’ tool (WooCommerce > Orders > select all > Bulk Actions > Rebuild history cache)
    3) Open an order and refresh the browser. Ditto for reports.
    4) (Optionally) deactivate & delete Status History for WooCommerce

    This is twice the in past year that I’ve spent hours debugging WordPress only to find this plugin was the source of the problem. It seems the benefits of installing it (for me at least) no longer outweigh the costs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor ospiotr

    (@ospiotr)

    hello @blackcapdesign

    Fighting a plague is really hard when you’re just a small soldier.

    In WooCommerce, there are now two solutions dedicated to Order Reports

    • “old” solution which is using classic WooCommerce functions. they plan to shut down them in the future, but for now, it is the most reliable feature regarding historical order data. you can access it here: https://imgur.com/a/pU4GCk5
    • a “new” javascript-driven solution (since Woo 4.0 version) that requires WooCommerce Admin module to always be active to gather data properly. accessible through the top-level admin menu: https://imgur.com/a/Z60Zvx9

    If you choose to disable WooCommerce Admin (default plugin behavior), you will lose access to the “new” reports.

    To regain your “new” reports after choosing not to disable WooCommerce Admin, you would have to regenerate order data. The instructions are in the plugin docs. You do not need to install any additional plugins. You do not need to deactivate the plugin.

    Just follow the steps given here: https://disablebloat.com/docs/woocommerce-admin/

    Hope this will be helpful!

    • This reply was modified 8 months ago by ospiotr.
    Thread Starter Pat K

    (@blackcapdesign)

    Thanks for following up. Just FYI, WooCommerce Admin was (and has always been) disabled. It’s the ‘old’ Reports tool that was showing zero data. Additionally, in new versions of WC (not sure when this was introduced) there is a ‘Customer History’ dialog on the right that displays ‘Total orders’, Total revenue’ and ‘Average order value’. They were all showing ‘0’. It’s also worth noting that on the 2 sites where this problem was present, BACS (Bank Transfers) is the only available payment method. I manage other sites where BACS and other payment methods (e.g. PayPal) are present and there was no problem. I didn’t have time to troubleshoot this further, but this order history & reporting issue appears to happen when BACS is the only payment option and the Disable Bloat for WC plugin is installed. As I reported, disabling your plugin and flushing the history cache resolved the problem.

    I do appreciate the hard work you’ve done to offer this plugin to the WP community for free – I didn’t mean to disparage your plugin or hard work… and I realize supporting it must be like playing multiple simultaneous games of moving whack-a-mole.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Breaks Order History & Reports’ is closed to new replies.