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.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Background of the issue:
I am trying to translate a string by going to WPML > Translations, clicking to translate on any page, and then clicking on a string to translate. The issue can be seen at this link: hidden link.
Symptoms:
I get a white screen when I click on a string to translate.
Questions:
Why do I get a white screen when trying to translate a string?
How can I resolve the white screen issue in WPML translations?
Receiving a blank page usually means that there is a chance of a fatal error taking place or an existing incompatibility issue between WPML and (at least) one of the active plugins or the active theme.
1. Can you please enable the WordPress debug feature and recreate the issue to see if you are getting an actual error message instead of just the blank page?
This will allow us to see if any PHP errors are being produced.
Now, if you see more information than just a blank screen, please share a screenshot with us so that we can see what error is causing that blank page to show up.
2. We can also test for a compatibility issue.
Can you please let us know if this issue happens even when only the WPML plugins are active, and you are using a default WordPress theme?
Please try the following steps so that we can test for a compatibility-related issue:
- create a full website backup
- disable all plugins except WPML and its add-ons
- check if the issue is happening again
- if it's not, reactivate your plugins one by one, checking every time if the issue shows up again so that you can understand which plugin is causing that issue
If the issue happens even with the non-WPML plugins disabled:
- leave all the non-WPML plugins deactivated
- switch to a default theme like TwentySeventeen
- try to recreate the issue now
If you have the chance, it would be best to do this in a staging (testing) environment.
Please let us know how that goes and if following any of these steps solved your issue or brought any change.
I activate the WP_DEBUG but I don't get any PHP error. THe only error I see is in the JS console:
hook.js:608 SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
at application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:12978
at Array.forEach (<anonymous>)
at application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:12931
at application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:13172
at L (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:14570)
at r2 (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:17301)
at vn (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:13:22992)
at wu (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:15:25090)
at qr (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:14:24725)
at Wr (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:14:24653)
overrideMethod @ hook.js:608Comprendre cette erreur
application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:13
Uncaught SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
at application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:12978
at Array.forEach (<anonymous>)
at application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:12931
at application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:13172
at L (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:14570)
at r2 (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:91:17301)
at vn (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:13:22992)
at wu (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:15:25090)
at qr (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:14:24725)
at Wr (application-b0679dcc577f8b664129266caeac87690d649b01d02015cb25a282d9aacb1da0.js:14:24653)
I also tried deactivating all the plugins but WPML and it is still not working.