Background of the issue:
I am trying to set up the WPML plugin on a WordPress installation. The setup process fails with an error message related to the WordPress REST API. The REST API endpoint, hidden link, is publicly accessible and returns the correct JSON response. However, there is a loopback request failure where the WordPress server cannot make a successful HTTP request to itself. The WordPress 'Site Health' tool indicates an error: 'The REST API did not process the context query parameter correctly.' I have full Plesk access and have tried several troubleshooting steps, including disabling Nginx cache, reverting Plesk security rules, performing plugin and theme conflict tests, resetting the .htaccess file, and checking ModSecurity logs, but the issue persists.
Symptoms:
The setup process for WPML fails with the error message: 'The WordPress REST API must be enabled for WPML to work correctly.' The 'Site Health' tool shows: 'The REST API did not process the context query parameter correctly.'
Questions:
What server configuration setting is interfering with internal REST API calls?
How can I resolve the loopback request failure for the WordPress REST API?
In order to escalate, I need you to send me all the relevant information you have on the issue, like your server settings, reports, logs and so on. Since we don't have any similar issues ever reported, anything that you think might be useful, can be.
Please share screenshots or paste information directly on the message. Thank you.
The topic ‘[Closed] The WordPress REST API must be enabled for WPML to work correctly’ is closed to new replies.