/wp-json/wc-analytics/ causing server issues
-
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.
- The topic ‘/wp-json/wc-analytics/ causing server issues’ is closed to new replies.