wp-json REST API broken
-
In setting up Asset Cleanup, I tried out different configurations. I did not realize that I needed the REST API for use by the Search Regex plugin when I initially set up the Asset Cleanup options.
Now when I disable the “Remove “REST API” link tag?” option in HTML Source CleanUp, the REST API remains broken. I’ve cleared the Asset Cleanup cache and the WP Rocket Cache to no avail.
I tried deleting the Asset Cleanup plugin and reinstalling, but it does not clean up after itself in the options table apparently, because upon reactivation after reinstalling, the options are all prefilled. I went into the options table and deleted all items associated with wpassetcleanup_ but Search Regex still can’t access the REST API. As soon as I deactivate Asset Cleanup, the problem is gone.
The associated error is:
Error: Unexpected end of JSON input (SyntaxError)I’m running:
WordPress: 5.6.2 (single)
PHP: 7.3.27 256M 30sI’d really like to use your plugin, but I need the REST API available.
The topic ‘wp-json REST API broken’ is closed to new replies.