• Resolved eversir

    (@eversir)


    Our webhost has recommended we raise this, as it appears to be a commonly reported issue that still has no fix to it.

    None of our other sites have this issue running on a similar environment (plugins, themes etc) – just this one.

    Our live server log shows multiple repeated instances of the following:

    GET /wp-json/wc-analytics/products/reviews?page=1&per_page=1&status=hold&_locale=user HTTP/2 403 94
    GET /wp-json/wc-analytics/admin/notes?page=1&per_page=25&status=unactioned&type=error%2Cupdate&_locale=user HTTP/2 403 94
    GET /wp-json/wc-analytics/orders?_fields%5B0%5D=id&page=1&per_page=1&status%5B0%5D=processing&status%5B1%5D=on-hold&_locale=user HTTP/2 403 94

    It then fires off several cron jobs, which I assume are related. It then results in the following errors:

    AH01067: Failed to read FastCGI header 
    AH01075: Error dispatching request to :

    This appears to be the cause of massive performance issues and slow downs, consuming nearly 4GB RAM (we usually expect 1GB, spiking to 1.5GB under load). The site is not experiencing any traffic that could really explain this consumption of resources.

    Digging around online, some report that a potential fix is to disable the woocommerce admin using the following snippet in the functions file:

    add_filter( ‘woocommerce_admin_disabled’, ‘__return_true’ );

    But this doesn’t fix the issue for us. If we completely disable all the plugins on the site, we no longer get any of these errors.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter eversir

    (@eversir)

    For anyone else experiencing this issue, we appear to have solved it.

    Simply do a manual import of historical data under Analytics > Settings

    I have nothing to import – and also don’t see how this would help. If you have some insight, that’d be great.

    Also – anybody else have a solution?

    I found a plugin that kills a bunch of WP/Woo BLOAT.

    I found that it does not support keeping Woo Payments running while getting rid of the BLOAT. I’ve hacked some stuff in that might let it work – but I can’t be sure at this point. I’ve sent info to the plugin developer, and maybe his expertise can smooth it out. The plugin is: Plugin: Disable WooCommerce Bloat

    But the REAL solution is to provide wp-admin control over the BLOAT.

    OK – I’ve got a thread open to the plugin developer with what appears to be an ACTUAL solution. Not a perfect one, but it sure seems to KILL THE BLOAT.

    Hopefully the plugin dev will add the bit of code needed to keep this wc-analytics monstrosity from eating our servers.

    https://www.ads-software.com/support/topic/plugin-breaks-woocommerce-payments/#post-13522012

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘/wp-json/wc-analytics/ causing server issues’ is closed to new replies.