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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
12:00 – 20:00 | 12:00 – 20:00 | 12:00 – 20:00 | 12:00 – 20:00 | 12:00 – 20:00 | - | - |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
This topic contains 10 replies, has 2 voices.
Last updated by Noman 1 year, 4 months ago.
Assisted by: Noman.
Author | Posts |
---|---|
August 8, 2023 at 12:08 pm | |
ulrikeI |
I am experiencing a 503 Error when I am trying to add a translation to a product on my WooCommerce page. |
August 8, 2023 at 12:36 pm | |
August 8, 2023 at 2:01 pm | |
August 8, 2023 at 2:02 pm #14169711 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
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 |
August 8, 2023 at 2:45 pm #14170205 | |
ulrikeI |
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. |
August 8, 2023 at 3:59 pm #14171027 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
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. Thank you for your cooperation |
August 8, 2023 at 4:11 pm #14171169 | |
ulrikeI |
Can I just confirm that you tried to translate a product on the actual site (not the migrated one) and it didn't work for you either? |
August 8, 2023 at 5:29 pm #14171637 | |
ulrikeI |
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. |
August 8, 2023 at 6:54 pm #14171973 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Yes I faced the same issue on the production site that's why I requested to migrate on the cloudways server to isolate the cause of this issue. Could you please try the suggested steps in my last reply and see if this resolves the issue. Thank you |
August 9, 2023 at 9:05 am #14173905 | |
ulrikeI |
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 Even if this is a hosting issue, what exactly is the hosting provider supposed to do to make this work? |
August 9, 2023 at 9:07 am #14173913 | |
ulrikeI |
I assume you still have the login details, so take a look at it yourself if you need to. I could provide the FTP details if it helps. I managed to fish the following out of the server log file. Note, that I edited the IP and Domain for the sake of privacy. [Wed Aug 09 11:24:53.238774 2023] [proxy_fcgi:error] [pid 25427] [client *.*.*.233:50560] AH01067: Failed to read FastCGI header, referer: hidden link |
August 9, 2023 at 1:31 pm #14176009 | |
ulrikeI |
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. |
August 9, 2023 at 4:28 pm #14177479 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
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.