WordPress REST API | WordPress.org

[ad_1]

We want to help you find the reason for the issue you’re facing. Please follow these steps:

  1. Open your web browser’s developer tools by going to Browser Tools → Network.
  2. In the Network tab, click on XHR to focus on XMLHttpRequests.
  3. Go to Statistics → Overview.
  4. Click on each request related to WP Statistics and tell us:
  • What response you see.
  • The number (like 200 or 404) you see as a code.
  • Anything important you notice.

Also, could you let us know if you have any security plugins on your WordPress site? Some plugins can affect WP REST API, which might be related to the issue.

Thread Starter
xbigx

(@xbigx)

Hello, I am getting status code 200 for POST requests, and I see a lot of red tabs that says metabox>ago= which are saying blocked:other

Thread Starter
xbigx

(@xbigx)

Also, I didnt have any other plugin installed when I did a fresh install on Google Cloud Platform. I think it could only be CloudFlare or this plugin.

Thread Starter
xbigx

(@xbigx)

I forgot to add the link to the photo.

It seems it’s the ad-blocker issue, you need to unblock the request through XHR or exclude /wp-json/wp-statistics/v2/metabox in the extention.

Can you please check it?

Thread Starter
xbigx

(@xbigx)

It immediately fixed it. I’ve been using adblock for 10 years, and never had issues with wp-statistics until now, but it is fixed now.

Yeah, we’ve started adding that URL to https://easylist.to/easylist/easylist.txt whitelist.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer