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.
Author | Posts |
---|---|
June 1, 2024 at 3:51 pm #15694805 | |
Karsten |
Background of the issue: I was attempting to update the WPML plugins on my WordPress site, which runs updates automatically. The issue occurs only on one specific site, suggesting a possible plugin conflict. Though I never could find out which one. Previously, I could resolve the issue by deleting and reinstalling all WPML plugins using the OTGS installer, but this approach failed with version 4.6.11. The site in question is hidden link Symptoms: "Internal Server Error Questions: |
June 2, 2024 at 6:11 am #15695123 | |
Karsten |
I tried several things which worked in the past, but didn't today: As nothing worked, I had to remove all plugins, to be able and show a maintenance screen. Help much appreciated. |
June 2, 2024 at 2:49 pm #15695701 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, You have the following setup. A. WordPress is installed in a subfolder -> hidden link. B. In WPML -> Languages -> Language URL format, you set the option to have the default language (English) in a directory like this: hidden link. Did you intend to have English as a sub-directory? https://wpml.org/documentation/getting-started-guide/language-setup/directory-default-language/ Please try to see if things work when you disable this option. Also, please be aware of the following known issues. If you delete the root page, it will result in a fatal error. Please read about this known issue and its workaround here. If the above does not help solve the issue on your site, please proceed with the following steps. Please share WordPress's debug log (not WPML debug information). Please check this page for instructions. https://wpml.org/documentation/support/debugging-wpml/ To enable it, open your wp-config.php file and look for define('WP_DEBUG', false); Change it to: define('WP_DEBUG', true); // Enable Debug logging to the /wp-content/debug.log file define('WP_DEBUG_LOG', true); // Disable display of errors and warnings define('WP_DEBUG_DISPLAY', false); @ini_set('display_errors', 0); After this, repeat the action that causes the problem on your site. The errors will be saved to a debug.log log file inside the /wp-content/ directory. Then please share the errors with us. Thanks, |
June 5, 2024 at 4:58 am #15704752 | |
Karsten |
Hello, I realize my answer to this last post did not arrive properly. I solved the basic problem by switching back to: default language without a subdirectory. So far, so good. Background What can I do best to reactivate the subdirectory for the default language, English? Is this stable, when creating a home page for the root directory? Thx |
June 5, 2024 at 9:42 am #15706006 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, You asked: "Is this stable, when creating a home page for the root directory?" Creating a root page is important from WPML's aspect. Please try to see if it solves the problem. 1. When German was the default language, was it also in a subdirectory /de/? I think that WordPress and WPML should be able to handle the links to /en/ you have out there. For example, if you have this link: hidden link and the user clicks, he/she will automatically get redirected to hidden link. I tried it with this link and also with hidden link, and it worked. I'm not sure it will work for all the links. If it does not work with specific links, you can also use a redirection plugin like the Redirection plugin by John Godley, which is officially compatible with WPML. https://wpml.org/plugin/redirection/ https://wordpress.org/plugins/redirection/ 2. If you downgrade WPML to version 4.6.10 with the same setup, does it work? Regards, |
June 6, 2024 at 5:32 am #15709272 | |
Karsten |
Thank you! I checked your finding that WPML redirects. That is correct and probably solves the issue by itself. I will further investigate, but as it works for now, and I am stuck in a project, it might take a few days. I will test the suggestions and close this ticket. 🙂 Karsten |