Background of the issue:
I am trying to fix the German version of my website. I have three language versions: Bulgarian and English are working fine, but the German version suddenly stopped loading properly. It used to work without issues. Here is the link to a page where the issue can be seen: hidden link
Symptoms:
The German version of the website is displaying a blank page instead of the expected content.
Questions:
Why is the German version of my website displaying a blank page?
How can I fix the issue with the German version not loading properly?
Welcome to WPML support. I will answer this ticket before the ticket is assigned to one of my colleagues.
The error 500 is a server level error that needs to be checked by your hosting log to see what is the underlying error.
Please contact your hosting serivce provider and ask them to give you the log to see what was the actuall error.
Meanwhile please test if the same issue is happening on a minimal installatino:
- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.
Hello, we have already contacted the hosting company before reaching out to you. We have also enabled and disabled all plugins to check for any conflicts. The issue we are experiencing is that only certain pages in German are not loading, including the homepage.
Could you please try the following steps?
1. Make a small change to the original page and save it.
2. Revert the change and save again.
3. Open the WPML translation editor and complete the German translation.
If the issue still persists and you get a 500 error, please enable WordPress debugging to check the exact error message.
To do this:
1. Open your wp-config.php file.
2. Find this line:
define('WP_DEBUG', false);
and change it to:
define('WP_DEBUG', true);
3. To log errors to a file, add this line below it:
define('WP_DEBUG_LOG', true);
This will save any errors to a debug.log file in your /wp-content/ directory.
Once you have enabled debugging, please reproduce the issue and then check the log file for any error details. Let me know what you find so we can help you further.
Please update your WooCommerce Multilingual & Multicurrency plugin and add-ons to the latest version to benefit from the latest bug fixes and improvements. We just released a new version.
You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/
If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.
Hello, unfortunately it does not work. We have tried to disable all plugins except Woocommerce & Wpml, even we have updated everything to last version before contacting you. We don't have any idea what might cause this, what's more we have tried a lot of different operations to resolve the issue and nothing has made any progress. Should we provide you with cPanel access and WordPress admin for further investigation from your competent team?
I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.
I installed your site locally without making any changes and didn’t encounter any issues. So, I continued checking your staging site.
I discovered that the translation for hidden link was causing the German homepage not to load properly. I resolved this by going to Products → All Products, switching to the German language, deleting the problematic translation, and then emptying the trash. After that, I confirmed the homepage loads correctly again.
I recommend retranslating this product. If the issue reoccurs, please try translating it using the Advanced Translation Editor.