[Resolved] Site is broken in German only, other languages fine
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with their site breaking when viewing content in a specific language. Solution: We identified a conflict between the "Multi-Carrier Shipping Plugin for WooCommerce" and WPML, where the plugin uses an array in a PHP GetText Call that WPML cannot translate or where trying to translate the string can result in unexpected issues. We suggested two possible solutions: 1. Provide us with the latest version of the plugin for testing, so we can recreate the error on a test site and escalate the issue internally. 2. If providing the plugin is not possible, inform the plugin author about the specific PHP error and the line of code causing it:
If this will not solve the issue, I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello Matt,
I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello Matt,
I can offer to have first a look into the live site.
If I need to take further steps apart from verifying or adjusting settings, then I could create a copy of the site for testing or you could provide a staging site, which saves time for me in this case.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Thank you for your message.
It would be ideal if could setup a staging site on which I can test without affecting the production site.
If you can not provide such a staging site then I would install the plugin "All In One WP Migration" and create a local copy of the site on a virtual server.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Please take kindly note, that before reporting an issue you always first should make sure to update all components (theme, plugins, WordPress) in order to verify if the issue persists.
After updating WPML Multilingual CMS and WPML String Translation to their latest available versions the issue appears to be solved on the staging site.
Please go to Plugins > Add new > Commercial and click "Search for updates".
Then update the plugin and clear the cache.
Take note, that I also update any other plugin that had an update available.
Yes, I previously tried updating all plugins, (even those that say they have not yet been tested with current WordPress), and my issue was not resolved.
(I then restored from backup, because I don't like to update plugins that have not been tested with current WP version), then I later created the staging site for you.
At your advice, I tried again today, updating all plugins that are available. I cleared WP Rocket cache, Object cache, and CDN cache (for test pages).
I don't know if this can be related in any way - but we still have some of the old additional WPML plugins also installed. (They were apparently used several years ago, but these have not been updated in 3 years by WPML).
- WPML CMS Nav (just tried to deactivate it and brief test)
- WPML Sticky Links (still active)
1. Could these be causing any redundant conflicts?
2. Can I safely delete these?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Could you please confirm if you still need assistance with the issue reported on this ticket, as I was no longer able to replicate the issue on your staging site?
Those are additional WPML plugins that you are using that are still valid and still getting updates.
If you do not need those features, then you can disable and delete those plugins.
In the case of WPML Sticky Links I would suggest you first use the "Revert sticky URLs to permalinks" option before deactivating and deleting the plugin.