Plugin breaks REST API – wp-json/wp/v2
-
Once I activate the plugin (free version ) the REST API gets broken. Adds the following code right before the JSON when you visit yourdomain.com/wp-json/wp/v2
//after activating the plugin <html><body></body></html>{JSON} //after deactivating the plugin {JSON}
This behaviour pretty much kills every REST API Call because you always get the error “Unexpected Token ‘<‘” since REST expects JSON.
Any idea how to avoid this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Plugin breaks REST API – wp-json/wp/v2’ is closed to new replies.