[Resolved] Mixed content after theme customizer update
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where after updating the theme customizer, the content that should remain in English is instead showing in other languages. This problem is linked to the Query Monitor plugin blocking Ajax actions from WPML during the save process. Solution: We recommend disabling the Query Monitor plugin, especially when updating content or translations, as it is primarily a debugging tool and can impact performance on live sites. Disabling it should resolve the issue with saving content in the correct language. For more details on this conflict, you can visit the discussion on WordPress.org.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at WPML Support Forum.
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.
Cache definitely seems to be the problem. Works fine now. Searching and replacing those hellish strings one more time.
We can close this ticket.
Thanks guys
Now I have exact same issues here also: hidden link
I had to update theme options in the theme customizer. All got mixed up.
Plugin isn't usable in this condition. Please fix it. I paid 1000$+ for the translations to you, it should be enough for paying a correct developer to do his job and fix this.
Sorry to hear that, it seems like a bug, and of course, we will be checking it further, helping and fixing the issue. Just note that until recently, we have not been sure about the issue and I still need to debug it further and fix or escalate.
I will update you here about any news and my progress.
I am trying to create a Duplicator package to test and debug this issue further, but it seems to fail.
Is it possible for you to provide us a staging site, or a duplicator package (excluding uploads folder and large files) or any other backup so we can check and debug this issue safely on our side?
Access to font at 'hidden link' from origin 'hidden link' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
So the translated versions try to access the .fr website version instead of the .com version. Right now this correspond to the language mixed with the main domain .com
Yes I can create staging
New threads created by Dražen and linked to this one are listed below:
Please let's not mix issues and stick to the ticket topic, it is easier to manage the issue and keep the conversation clear. Also, we limit 1 issue per 1 ticket.
I will continue here checking issue with admin string, please share staging site with FTP access, and make sure it works. I have not been able to use last one shared.
No man you can close this new ticket. It's the exact same issue, just a different symptom.
1/ Strings were overrided with FRENCH LANGUAGE.
2/ Their is now a CORS policy issue also with FRENCH DOMAIN, when visiting a page of ANOTHER DOMAIN (like .de).
It's the same issue that causes mixed content and also loads fonts family from another translated version of the website.
Staging here: hidden link
Access are the same as for production site.
I checked further, and it seems there is an issue with Query Monitor blocking Ajax action from WPML, so on save, it does not work fine. It works fine when disabled.
It is already been reported to us and Query monitor, and we will be working on a permanent fix.
For now, since this is a debugging plugin, which can also affect performance and should not be used on a live website, I suggest keeping it disabled if not debugging a problem. Also for now, for saving content/translation best would be to keep it disabled.
I will update you when I have more news on permanet fix relase.
Disabling this plugin allow to save the theme customizer without getting mixed content? And mixed content during load of translated domains (cors policy issue)?
Waiting for a solid answer
Yes, as I have said in my last reply, it works fine when Query Monitor is disabled.
For the Cors policy, we have another ticket. If you still have Cors Issue, please get back to me there if you have checked with hosting support about disabling the Cors policy and the issue still happens.