This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing JavaScript errors in WP Admin pages caused by WPML. This issue might be due to WordFence blocking the WPML Translation Proxy's access to the WP REST API.
Solution:
1. Check WordFence Live Traffic:
- Navigate to Wordfence → Tools → Live Traffic.
- Filter for blocked requests or REST API calls.
- Look for /wp-json/wpml/ or /wp-json/wp/v2/ endpoints.
2. Temporarily disable WordFence to see if the error disappears, confirming interference.
3. Whitelist WPML Translation Proxy IPs if published by WPML.
4. Adjust WordFence Firewall Settings:
- Go to WordFence → Firewall → Blocking.
- Ensure REST API access is not restricted for logged-in users.
If these steps do not resolve the issue, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

