Great plugin! Unfortunately, it’s generating numerous AJAX / WP-JSON critical errors in the back end.
Specifically:
From Google Analytics:
Click here for details.
From Google Chrome Inspection:
Click here and here for details.
We are using wpDiscuz’s custom AJAX functions. Also using Cloudflare, SG Optimizer, and WP Rocket.
What’s going on? No noticeable issues with posting or replying to comments.
Fix appreciated.
Update:
We may have found the root cause of this issue. The critical errors disappear when we enable REST API (front-end) on our website.
Specifically, when we click on the links generated by the critical errors, we get the following message:
{"code":"rest_authentication_error","message":"Sorry, you do not have permission to make REST API requests.","data":{"status":401}}
Click here for more details.
Based on the above, we ran into this article which confirms our finding.
Bottom line, can you kindly look into this and advise if there’s any way to eliminate this issue without disabling REST API (front-end)?
Thank you!
Thanks for the quick reply. Are you going to tell everyone in WordPress to post their issues in your forum? Sounds fair to me. I noticed you are still answering posts in WordPress. Confusing!