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 |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: America/Los_Angeles (GMT-07:00)
Tagged: ATE, Performance
This topic contains 56 replies, has 3 voices.
Last updated by danieleD-46 9 months ago.
Assisted by: Bobby.
Author | Posts |
---|---|
April 3, 2023 at 12:01 am #13385771 | |
danieleD-46 |
The automatic translation has been stuck for a long time. I started two weeks ago. Before I have another license. I also contact you for the same reason one week ago (read the mail attached to understand). Today I bought again the license to receive support. I follow the guide in the forum to apply the new license, I stop an restart the consumer credits. The only changes is that the translation service is not anymore in error, but still in the same screen without translate anything. |
April 4, 2023 at 2:31 am #13395391 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Hi there, There are a few things that I see going on here. 1. the product_type taxonomy -> Go to Taxonomies Translation -> Product_Type and set to "Not translatable" 2. Could you share with me what the other error is saying as it's not in English 3. Go to WPML->Translation Management->Automatic Translation -> are you using pay-as-you-go or pre-paid credits? It looks like you might have run out of credits thus the translations are pending until more credits are purchased. |
April 4, 2023 at 7:42 am #13396973 | |
danieleD-46 |
1) I solve it, thanks Some taxonomies on your site are being forced as untranslatable. This will cause an issue when trying to run a multilingual WooCommerce site. 3) I have the pay-as-you-go subscription, as in the screenshot. Is it possible to translate again all the products? Because some I translated some of products with api rest before activate the subscription, but I would like to have all translated in the same mode because probably I didn't translate something and also in that product there ins't advance wpml translation. I know that I'll consume more credits, but it's ok |
April 4, 2023 at 7:47 am #13397239 | |
danieleD-46 |
I would like also to share this screenshot, the products, that I highlighted, are in loading since days... |
April 4, 2023 at 6:25 pm #13403335 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Thank you for updating me! For #2 we will most likely need to split it into it's own ticket and debug further, let's first focus on the automatic translation issue and afterward we can review it. You should be able to go to WPML->Translation management->select specific pages you want to translate again and send them for translation, do this also, for the ones loading. Let me know your results, please. |
April 5, 2023 at 9:46 pm #13414391 | |
danieleD-46 |
If I select some products and trigger manually the automatic translation it works, I see that I use more credits and the page or product I selected seems to be translate. After the plugin translate what I selected manually it return to a freezing status and sometimes give me an error. It seems as it has in cache something that it isn't able to translate... [Sun Apr 02 17:50:21.694915 2023] [proxy_fcgi:error] [pid 2010:tid 139919607449344] [client 163.5.123.32:57391] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /bitnami/wordpress/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php:169\nStack trace:\n#0 /bitnami/wordpress/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php(169): array_key_exists()\n#1 /bitnami/wordpress/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php(83): WPML\\SL\\CustomFields->getSettings()\n#2 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(308): WPML\\SL\\CustomFields->convertUrlsInCustomField()\n#3 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#4 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()\n#5 /opt/bitnami/wordpress/wp-includes/meta.php(154): do_action()\n#6 /opt/bitnami/wordpress/wp-includes/meta.php(250): add_metadata()\n#7 /opt/bitnami/wordpress/wp-includes/post.php(2524): update_metadata()\n#8 /bitnami/wordpress/wp-content/plugins/woocommerce-order-status-manager/src...', referer: <em><u>hidden link</u></em> |
April 6, 2023 at 8:46 pm #13423057 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Try the following please: 1. Increase the PHP Time Limit from 30 to a higher limit if possible and try again 2. Go to WPML->Settings->Translation Mode->switch to "Translate What You Choose" and save 3. Switch back to "Translate Everything Automatically" this should re start any stuck jobs. Since we use Translation Memory you will not be charged twice for any content that has already been translated. -------- Are you currently using the WPML Sticky Links plugin? I ask this because some users only activate it because they think it is a must-plugin when using WPML. If this is the same case as yours, you can deactivate this plugin and thus avoid the error. Let me know your results, please. |
April 8, 2023 at 6:56 pm #13431953 | |
danieleD-46 |
I follow your suggestions, I increase the time limit (screenshot "Wordpress_settings"), then I follow your instructions to switch the translation mode. |
April 10, 2023 at 5:55 pm #13439239 | |
danieleD-46 |
Yesterday and today I'll continue to try. I stop and restart automatic translation because I have the error in the screenshot, as I didn't have any credits left, but in reality I had Credits as you go plan. I receive a receipt, then after an hour, I restarted the plan. I test automatic translation again. It block my site multiple times. I also test to change the theme with a default theme, but the situation is worst because wpml plugin block the site multiple times, the theme change starts to recreate image thumbnails and use lot of more resources. I need to recover a backup. These is the production site and I was obbligate to work also in these days of holiday. |
April 10, 2023 at 8:53 pm #13440269 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Thank you for updating me on your results! I would like to request temporary access (wp-admin and FTP) to your site to test the issue. **Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken ** I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/ NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin. Thank you, |
April 11, 2023 at 6:14 pm #13449303 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
Thank you for the access details! Since we are working on resolving the issue with the automatic translation not working and being stuck, if possible go to WPML->Translation Management ->Tools and either activate the pay as you go plan or connect it to the existing one Then try to translate using the automatic translation and let me know your results. are you able to reproduce the same behavior on this copy? |
April 11, 2023 at 9:23 pm #13450417 | |
danieleD-46 |
I just activate the automatic translation in this copy, the production site become slower and slower after a period of time, generally after some hours...let's see...the problem is that sometimes it's impossible to access to the site until I reboot the bitnami machine |
April 12, 2023 at 10:49 am #13454553 | |
danieleD-46 |
I just screenshot the page in the test site after I enable the automatic translation, but is the same as hours ago, it doesn't go on. In the production site if after some page refresh starts to translate, after some hundreds of translation block the site. Now it seems it's not able to start. |
April 13, 2023 at 12:35 am #13460327 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-07:00) |
When I go to WPML->Translation Management->Tools I can see that the pay-as-you-go plan is not activated and also not connected to the main account that the production is using. I have manually connected the 2 now so we can see the same things as the queue will stop working if the credits are not available. Now that it's set up correctly I will restart In the meantime can you please also enable REST API I will check back once it is done and update with my results |
April 13, 2023 at 8:27 am #13462311 | |
danieleD-46 |
Sorry for the configuration, after the duplication didn't check everything of the site, I only discourage indexing and start the translation. I attach the screenshot with test I made to show that WordPress Rest Api was active in both production and test site. top that show the active processes. CPU was ok but I had multiple php processes whose sum occupied the most of the RAM (8gb). Maybe you'll find that useful because generally the RAM is lower. |
The topic ‘[Closed] The automatic translation has been stuck for a long time.’ is closed to new replies.