I installed WPML on a working WP site. It might have an incompatibility with the HTTP Headers plugin https://wordpress.org/plugins/http-headers/.As soon as I change the headers config, I get this message in the browser.
We need to replicate this issue on a fresh WordPress installation. Then I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:
-site removed--
With this link, you'll be directly logged in.
Could you please install the https://wordpress.org/plugins/http-headers/ plugin and see if the issue is replicable on a clean WordPress installation?
Please configures WPML and WooCommerce as it is set on your site (just the basics usually is enough).
Please also make sure that you are installing the latest version of the plugin.
When everything is finished, and you can replicate the problem, please let me know.
Hi,
I reply to the email notification on Monday so not sure you got my answer.
Hi,
I installed "HTTP Headers", imported some settings and added a new header
(image1)
and on validation, I get this
(image2)
Then, I desactivated WPML String Translation plugin, and I was able to add the header without problem.
Hi, Alex and thanks for installing the plugin on the test site.
I'm sorry but I'm not familiar with this plugin and how to configure it.
Can you please explain the step by step process that I need to do in order to replicate this critical error?
Hi,
1) Go to the plugin's setting page hidden link
2) Enter the security sections hidden link
3) Add a new header value. ex : new endpoint "hidden link" in the "frame-src" section so the value is now hidden linkhidden linkhidden link
4) Click on "save changes" (at the bottom of the page)
5) you get this error "There has been a critical error on your website. Please check your site admin email inbox for instructions. Learn more about debugging in WordPress."
Notice that this problem is more serious than it looks. Initialy, I installed WPML on the site with WooCommerce, Elementor and HTTP Headers plugins. After the upload of the plugin, it took some time, I got a 503 error. The web site was down, killed. We lost hours trying to figure out what happened. We are in a kubernetes environement. The container would no longer start, even after re-initialization. In fact, some files stayed on attached volumes. Not that easy to edit when the container would not even start...
I've escalated this issue to our compatibility team and they will debug it and try to find a fix for it. If we would not be able to fix this issue only from our side, we might need the cooperation of the author of the plugins. It would be great if you could contact the authors and urge them to join our Go Global Program. You can find details about it here. https://wpml.org/documentation/theme-compatibility/go-global-program/
We will be happy to cooperate with the authors in making their plugin officially compatible with WPML.
In any case, I'll keep you updated here when I have news from our compatibility team regarding this issue.