I have tried basic troubleshooting steps but none of them worked so far. To troubleshoot this issue without affecting your live site, I have set up a fresh WP site on cloudways. Can you please migrate your site to the cloudways server so that we can see if it’s a theme/plugin conflict or a server-specific issue? I have shared the migration details in a previous private reply.
Thank you for your cooperation and amazing patience
The migration process has been completed. I assume that you will be able to figure out the login details for the admin backend or create an account yourself if you have to.
Thanks for migrating a site on the test server. I have tried to translate products randomly without deactivating anything and it seems to be working correctly as you can see in the attached screenshots, so, this issue seems to be related to the server settings/resources.
1. I have noticed the difference in Time Limit, in your site its value is 120, and on the test server its value is 600, could you please try to increase it by adding the below code in the wp-config.php file:
set_time_limit(600);
And see if this resolves your issue. You can confirm the updated value from WPML >> Support page.
Here is a doc for more details: hidden link
2. If the issue still persists, please enable error reporting on your site to examine the latest error log. To do so, open your ‘wp-config.php’ file and look for ‘define(‘WP_DEBUG’, false);’. Replace it with the following code:
// Enable WP_DEBUG mode
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 );
define( 'SCRIPT_DEBUG', true );
After adding the above code, attempt to translate the product again, and check if it generates a debug.log file in the wp-content directory. Please share its contents with us.
The reason I was asking whether you were able to actually replicate the error/problem is because I talked to my internet provider who was unable to replicate the problem.
It appears as if I am experiencing the issue and I just want to clarify that you experienced it as well on the production server.
That being said, I am absolutely puzzled as to how it can work for my internet provider but not for me when it's a backend issue.
I increased the time limit to 600 which had no effect at all. The problem still persists.
I enabled the error reports as suggested, but there are no relevant entries in the debug.log. The only thing I am getting are depreciated notifications which isn't the issue here.
[09-Aug-2023 08:50:50 UTC] PHP Deprecated: Die Funktion get_filter_svg_from_preset ist seit Version 6.3.0 veraltet und es ist keine Alternative verfügbar. in /var/customers/webs/web31187/managed-wordpress/wp-includes/functions.php on line 5463
[09-Aug-2023 08:50:50 UTC] PHP Deprecated: Die Funktion get_filter_id_from_preset ist seit Version 6.3.0 veraltet und es ist keine Alternative verfügbar. in /var/customers/webs/web31187/managed-wordpress/wp-includes/functions.php on line 5463
Even if this is a hosting issue, what exactly is the hosting provider supposed to do to make this work?
After a lot more investigation, it turns out the culprit appears to be Redis. Deactivating Redis solved the problem.
I can only assume that the server you asked me to migrate the data to didn't support Redis, so it was deactivated automatically due to lack of support. As a result, the migrated version worked, as Redis wasn't supported and the plugin was deactivated.
Deactivating Redis is however not a real solution to the problem, as Redis is a requirement for performance.
I would suggest that you consider an actual bug report for the development team, so that conflicts between WPML and Redis can be resolved in future upgrades. According to google, I am not the only one suffering from issues between WPML and Redis.
I’m thankful for your patience and all the assistance you've provided during the troubleshooting process.
To escalate this issue to the next level of support, we need to examine it in a minimal environment. This involves turning off all plugins except WPML and Redis Object Cache. Could you please help us create a staging/test site on your server where Redis is active? This will allow us to investigate the issue more deeply.
Your cooperation and patience are greatly appreciated.
Thank you.
The topic ‘[Closed] I am experiencing a 503 Error when I am trying to add a translation to a product’ is closed to new replies.
Manage Cookie Consent
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.