This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported that after translating elements, the shop page on their website appeared broken, displaying a PHP Fatal error related to an unknown format specifier in a theme file. Solution: We identified the error in the file
on line 41. The issue was due to an incorrectly translated string. We removed the incorrect translation and re-translated it correctly. We recommend checking the translated shop page to ensure the issue is resolved.
If this solution does not apply to your case, or if it seems outdated, 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 the problem persists, please open a new support ticket.
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.
Thank you for your help, seems that there have been translated a lot of elements. But there are still some issues, after translations the hidden link page seems to be broken. Could you please help me with that?
Please provide the WordPress debug.log; this will allow us to see if any PHP errors are being produced. More Info.
To enable it, open your wp-config.php file and look for the following line:
define('WP_DEBUG', false);
And 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, which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);
Then, try reproducing the issue (Going to the translated shop page) and checking if any errors were saved to the debug.log log file inside the /wp-content/ directory.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.