Skip Navigation

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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 1 month ago.

Assisted by: Long Nguyen.

Author Posts
October 9, 2023 at 10:10 pm #14542873

claudiaP-16

Hi,
when sending work for translation
it gets stuck on "Processing..."

I send you a print. this time I only had 5 pages in the basket and it gets stuck in 100% but never finishes. I've also tried with bigger amount of pages and it gest stuck at 75%

Can you help? thank you

chrome_MhmCBuUh1X.png
October 10, 2023 at 8:19 am #14547221

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Claudia,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

Please try to send the page to the translation one-by-one and see how it goes. If it is stuck for a specific page, please enable WP debug, check and share the error log with me.
If you don't know how to enable WP debug, please follow the documentation https://wordpress.org/documentation/article/debugging-in-wordpress/

The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details
https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '128M' );

After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.

Look forward to your reply.
Thanks

October 10, 2023 at 10:27 pm #14554009

claudiaP-16

Hi,
Itried no send junt one file to trasnlate, and the issue remains. I' also did all the changes you said.
here is the info on the debug.log file

[10-Oct-2023 22:16:55 UTC] PHP Warning: Undefined array key "product_query_post_type" in /home/ecotrave/public_html/wp-content/plugins/elementor/includes/conditions.php on line 87
[10-Oct-2023 22:16:55 UTC] PHP Warning: Undefined array key "product_query_post_type" in /home/ecotrave/public_html/wp-content/plugins/elementor/includes/conditions.php on line 87

I can give you admin acess if needed, it's still a development site. Thank you

October 11, 2023 at 1:35 am #14554319

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

October 11, 2023 at 10:00 am #14558023

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

There is a fatal error when sending the job to translation from the basket. Here is the full trace:

[11-Oct-2023 09:51:44 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/ecotrave/public_html/wp-includes/PHPMailer/PHPMailer.php:874
Stack trace:
#0 /home/ecotrave/public_html/wp-includes/PHPMailer/PHPMailer.php(1961): PHPMailer\PHPMailer\PHPMailer->mailPassthru()
#1 /home/ecotrave/public_html/wp-includes/PHPMailer/PHPMailer.php(1682): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/ecotrave/public_html/wp-content/plugins/wp-mail-smtp/src/MailCatcherTrait.php(161): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/ecotrave/public_html/wp-includes/pluggable.php(546): WPMailSMTP\MailCatcherV6->send()
#4 /home/ecotrave/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/emails/report/class-wpml-tm-batch-report-email-process.php(44): wp_mail()
#5 /home/ecotrave/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/emails/report/class-wpml-tm-batch-report-email-process.php(35): WPML_TM_Batch_Report_Email_Process->send_emails()
#6 /home/ecotrave/public_html/wp-includes/class-wp-hook.php(310): WPML_TM_Batch_Report_Email_Process->process_emails()
#7 /home/ecotrave/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#8 /home/ecotrave/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#9 /home/ecotrave/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-basket/wpml-basket-tab-ajax.class.php(131): do_action()
#10 /home/ecotrave/public_html/wp-includes/class-wp-hook.php(310): WPML_Basket_Tab_Ajax->send_basket_commit()
#11 /home/ecotrave/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#12 /home/ecotrave/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#13 /home/ecotrave/public_html/wp-admin/admin-ajax.php(188): do_action()
#14 {main}
  thrown in /home/ecotrave/public_html/wp-includes/PHPMailer/PHPMailer.php on line 874

It looks like the PHP mailer on your site is not configured correctly. I recommend contacting your hosting support and asking them to fix this error. Then you can try to send the job to translation again.

Look forward to your reply.
Thanks

October 11, 2023 at 10:24 am #14558239

claudiaP-16

Solved. Thank you!