This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing an Internal 500 Error when navigating your site in a translated language with WPML Multilingual CMS and WPML String Translation plugins activated.
Solution:
The issue might be related to your server settings. We recommend creating a copy of your website on another server to test WPML. Additionally, contact your hosting support to explain the problem and check the server error logs. They should be able to assist you further.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly 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 needed, please open a new support ticket at WPML support forum for further assistance.
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.
Tagged: Bug
This topic contains 9 replies, has 2 voices.
Last updated by Lucas Vidal de Andrade 1 week, 3 days ago.
Assisted by: Lucas Vidal de Andrade.
Author | Posts |
---|---|
October 25, 2024 at 2:05 pm | |
chipegoH |
Background of the issue: Symptoms: Questions: |
October 25, 2024 at 2:44 pm | |
October 25, 2024 at 4:24 pm #16331687 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, After further investigating, the issue is very likely related to your server settings. To confirm that, you can create a copy of your website on another server and test WPML there. Please reach out to your hosting support, explain to them the problem and check the server error logs. They'll probably be able to better help you. Let me know if you need anything else from our side after talking to them. |
October 25, 2024 at 6:00 pm #16331924 | |
chipegoH |
Hi, I have reached out to them and they confirm that the issue is not due to server settings: "We have checked the log and there seem to be multiple errors with the WPML plugin activated on your site pamci.info, We have also fixed the permalink issues with the domain." The relevant error messages in the error log are as follows: [25-Oct-2024 11:07:23 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/pamciyrd/public_html/wp-content/plugins/mesmerize-companion/src/Companion.php:611) in /home/pamciyrd/public_html/wp-admin/admin-header.php on line 9 |
October 28, 2024 at 2:13 pm | |
October 28, 2024 at 2:26 pm #16338164 | |
chipegoH |
Hi Lucas, I will get on this right away: I feel I am having too many issues trying to make this plugin work with our chosen theme and maybe this is just not the translation plugin for us. We have multiple users using the site (who are not technosavvy) and we cannot afford to have it crashing everytime we click a link. At the same time I cannot not have a translator (so I can't disable the plugin now), because 99% of the users are a french speaking. I had a similar issue back in May and one of your technicians inserted some code into my theme and that solved the problem that time. So I'm pretty sure the issue is not server rerlated, but we will give this one last try. |
October 28, 2024 at 2:43 pm #16338298 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
I understand. Nonetheless, I need a copy of your website to analyze the issue, so the Cloudways version will work for that as well. Thank you. |
October 29, 2024 at 2:41 am #16340006 | |
chipegoH |
I have been trying to do this migration, without success. The error message I get. Maybe there's omething that I entered incorrectly? (see screenshots). I was not sure what goes int the http Auth (your message didn't provide for this) and when I tried to access the support link you shared to try and get more info, I just constantly got the black "wheel" while it verified whether I was human or not (see screenshot). I have limited time to actually and the network where I am currently is kind of sketchy. I gave you credentials to the site, can you initiate the transfer and I will look out for the email? |
October 29, 2024 at 1:12 pm #16342375 | |
chipegoH |
Good day, We have deactivated WPML and the site is working 100% and is Internal 500 Error free. As I said, it's been a struggle with this translator (for our site) and unfortunately it seems last time your technicians did JUST ENOUGH to make it work for us until it's too late to get a refund! Anyway, we are clearly going to change our theme, because it seems that is where the clash is. The site seems to work fine with other themes. So I think we are just going to have to work flat-out over the next few days to convert from Highlight theme to Mezmerize which is similar but does not seem to cause issues... My challenge now is that when I create a staging site (to test the interaction between WPML and Mezmerize) the translator doesn't work because all the WPML translated pages point to pamci.info/fr and not to pamci.info/phoenix/fr is there a way to quickly address this? New threads created by Lucas Vidal de Andrade and linked to this one are listed below: https://wpml.org/forums/topic/split-urls-in-staging-version/ |
October 29, 2024 at 2:16 pm #16342804 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, About the migration. I already tried creating a copy with the All In One WP Migration plugin, as well as with the Duplicator plugin. I had server errors with both. Furthermore, with Cloudways, we are getting errors, and I'm unable to migrate your website. Let me make sure I'm following you: does the Mesmerize theme work with WPML flawlessly? In other words, does the 500 error go away, when WPML is active along with the Mesmerize theme? I'm asking that to check how I should proceed with support, as this issue might also be coming from conflicts. Please also note that we have an extensive list of themes and plugins that were tested with WPML and work with no issues. The Mesmerize Theme is not in that list. If you're taking the time to address the issue, it's a good opportunity to pick a tool that's WPML compatible: As for the issue with the URLs, I created another ticket, so we can keep things organized. I'll provide with a possible quick solution there. https://wpml.org/forums/topic/split-urls-in-staging-version/ I'm waiting for your feedback. |
October 29, 2024 at 2:55 pm #16343089 | |
chipegoH |
Hi, we need to do extensive testing to confirm that there are ZERO compatibility issues between WPML and Mesmerize, hence the need to address the staging issue... I will apply the suggested changes , so that we can start that process and confirm definitively. Unfortunately, the purchase of one of your suggested themes (and the extensive testing for other compatibilities - we have quite a number of other plugins that NEED to work on the site) is not in the budget right now. Mesmerize is the closest approximation to the theme we are currently using (Highlight). Perhaps we would have planned things different if we had known from the outset that decision regarding the site needs to be tailored to WPML and not the other way round. So the best course of action is to limp along until next year April and plan our decision regarding our future translator around which one works best with our site, or plan the change of theme to one of your recommended ones then. |
October 29, 2024 at 3:33 pm #16343280 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello Thanks for sharing the details. To provide you with some context, WPML, like other translation plugins, is deeply rooted on the website, as many parts of plugins and themes must pass through WPML to be properly translated. That's why testing and verifying compatibility is so important to us and our users. "So the best course of action is to limp along until next year April and plan our decision regarding our future translator around which one works best with our site, or plan the change of theme to one of your recommended ones then." Should we keep troubleshooting the 500 error right now? It's not clear to me. |
November 1, 2024 at 2:40 pm #16355275 | |
chipegoH |
Changing the theme to Mesmerize didn't resolve the issue. We still received Internal 500 Errors (albeit less frequently). However, changing we realized that selecting the option "Language name added as a parameter (hidden link - French)" resolved the issue completely. We haven't had an Internal error for the last few days. While it is less "pretty", it seems that we are not going resolve the other issue, we'll take functioning over pretty. |
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.