Skip to content Skip to sidebar

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
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -
- 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 5 replies, has 1 voice.

Last updated by Kor 8 months ago.

Assisted by: Kor.

Author Posts
June 23, 2025 at 9:05 am #17158681

arazR

Background of the issue:
I am trying to duplicate existing sites to a new language after updating WPML to 4.7.6 on hidden link.

Symptoms:
I receive a message saying: 'Sending for translation failed. An error occurred while sending the translation.'

Questions:
How can I solve the issue of sending for translation failing after updating WPML?

June 23, 2025 at 9:16 am #17158743

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML support. I will answer this ticket before the ticket is assigned to one of my colleagues.

Would you please increase the php memory limit?

The minimum requirement is 128M but I suggest that you increase it to 512M: https://wpml.org/home/minimum-requirements/

You can add this by adding the code below to "wp-config.php" file of your WordPress installation root folder:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '512M');
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

After that do as follows:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > WPML > Support > Troubleshooting (link)".
- Click the buttons annotated in the screenshot below one by one and wait for each button process to finish:
https://wpml.org/wp-content/uploads/2020/10/7206941-buttons.png

And finally, test by adding only one language as a duplicate and see if it works.

Thanks.

June 23, 2025 at 8:33 pm #17162541

arazR

I tried it, still the same issue.

It looks like its doing something for around a minute, and then the error message pops up.

Anything else I can try?

June 25, 2025 at 1:16 am #17166975

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. We need to check the error logs. Could you navigate to WPML > Support > Error Logs and share what you see here?

Also, please enable debugging as explained here https://wpml.org/documentation/support/debugging-wpml/ and share us the debug log.

June 25, 2025 at 6:04 am #17167163

arazR

I can't find a way to attach a file to this chat, only images. Can I send the full log by email or in some other way to you?

Here are some examples of some lines in the log (it's over 3900 lines over a period of 5 minutes)

[25-Jun-2025 05:55:50 UTC] PHP Warning: Undefined array key 0 in /var/www/wp-content/plugins/wpml-media-translation/classes/class-wpml-media-attachment-by-url-query.php on line 99
[25-Jun-2025 05:55:50 UTC] PHP Warning: Undefined array key 0 in /var/www/wp-content/plugins/wpml-media-translation/classes/class-wpml-media-attachment-by-url-query.php on line 163
[25-Jun-2025 05:55:50 UTC] PHP Warning: Undefined array key 1 in /var/www/wp-content/plugins/wpml-media-translation/classes/class-wpml-media-attachment-by-url-query.php on line 163

[25-Jun-2025 05:56:32 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query SHOW FULL COLUMNS FROM `wp_qkfxtrn72h_yoast_indexable` made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome-child/single-faq.php'), get_header, locate_template, load_template, require_once('/themes/flatsome/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head, do_action('wpseo_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->present_head, Yoast\WP\SEO\Presenters\Schema_Presenter->present, Yoast\WP\SEO\Presenters\Schema_Presenter->get, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema, Yoast\WP\SEO\Generators\Schema_Generator->generate, Yoast\WP\SEO\Generators\Schema_Generator->generate_graph, Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs, Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build_for_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build, Yoast\WP\SEO\Helpers\Indexable_Helper->save_indexable, Yoast\WP\SEO\Models\Indexable->save, Yoast\WP\Lib\Model->save, Yoast\WP\Lib\ORM->save, Yoast\WP\Lib\ORM::execute
[25-Jun-2025 05:56:32 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query SELECT * FROM `wp_qkfxtrn72h_yoast_indexable` WHERE `object_id` = '1' AND `object_type` = 'user' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome-child/single-faq.php'), get_header, locate_template, load_template, require_once('/themes/flatsome/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head, do_action('wpseo_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->present_head, Yoast\WP\SEO\Presenters\Schema_Presenter->present, Yoast\WP\SEO\Presenters\Schema_Presenter->get, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema, Yoast\WP\SEO\Generators\Schema_Generator->generate, Yoast\WP\SEO\Generators\Schema_Generator->generate_graph, Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs, Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build_for_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build, Yoast\WP\SEO\Builders\Indexable_Builder->maybe_build_author_indexable, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[25-Jun-2025 05:56:32 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query SELECT * FROM `wp_qkfxtrn72h_yoast_indexable` WHERE `object_id` = '1' AND `object_type` = 'user' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome-child/single-faq.php'), get_header, locate_template, load_template, require_once('/themes/flatsome/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head, do_action('wpseo_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->present_head, Yoast\WP\SEO\Presenters\Schema_Presenter->present, Yoast\WP\SEO\Presenters\Schema_Presenter->get, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema, Yoast\WP\SEO\Generators\Schema_Generator->generate, Yoast\WP\SEO\Generators\Schema_Generator->generate_graph, Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs, Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build_for_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build, Yoast\WP\SEO\Builders\Indexable_Builder->maybe_build_author_indexable, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[25-Jun-2025 05:56:32 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query SELECT * FROM `wp_qkfxtrn72h_yoast_indexable` WHERE `object_type` = 'post-type-archive' AND `object_sub_type` = 'faq' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome-child/single-faq.php'), get_header, locate_template, load_template, require_once('/themes/flatsome/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head, do_action('wpseo_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->present_head, Yoast\WP\SEO\Presenters\Schema_Presenter->present, Yoast\WP\SEO\Presenters\Schema_Presenter->get, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema, Yoast\WP\SEO\Generators\Schema_Generator->generate, Yoast\WP\SEO\Generators\Schema_Generator->generate_graph, Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs, Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate, Yoast\WP\SEO\Repositories\Indexable_Repository->find_for_post_type_archive, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[25-Jun-2025 05:56:32 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query SELECT * FROM `wp_qkfxtrn72h_yoast_indexable` WHERE `object_type` = 'post-type-archive' AND `object_sub_type` = 'faq' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome-child/single-faq.php'), get_header, locate_template, load_template, require_once('/themes/flatsome/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head, do_action('wpseo_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->present_head, Yoast\WP\SEO\Presenters\Schema_Presenter->present, Yoast\WP\SEO\Presenters\Schema_Presenter->get, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema, Yoast\WP\SEO\Generators\Schema_Generator->generate, Yoast\WP\SEO\Generators\Schema_Generator->generate_graph, Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs, Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate, Yoast\WP\SEO\Repositories\Indexable_Repository->find_for_post_type_archive, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[25-Jun-2025 05:56:32 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query INSERT INTO `wp_qkfxtrn72h_yoast_indexable` (`object_type`, `object_sub_type`, `title`, `description`, `breadcrumb_title`, `permalink`, `is_robots_noindex`, `is_public`, `blog_id`, `version`, `object_published_at`, `object_last_modified`, `permalink_hash`, `created_at`, `updated_at`) VALUES ('post-type-archive', 'faq', '%%pt_plural%% Archive %%page%% %%sep%% %%sitename%%', '', 'FAQ', 'hidden link;.com/th/[hidden]-faq/', '0', '1', '1', '2', '2022-10-21 11:55:24', '2025-03-26 07:40:12', '36:fae5d1b7ffe65e670e3399a1ba9e0ca6', '2025-06-25 05:56:32', '2025-06-25 05:56:32') made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome-child/single-faq.php'), get_header, locate_template, load_template, require_once('/themes/flatsome/header.php'), wp_head, do_action('wp_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head, do_action('wpseo_head'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Front_End_Integration->present_head, Yoast\WP\SEO\Presenters\Schema_Presenter->present, Yoast\WP\SEO\Presenters\Schema_Presenter->get, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema, Yoast\WP\SEO\Generators\Schema_Generator->generate, Yoast\WP\SEO\Generators\Schema_Generator->generate_graph, Yoast\WP\SEO\Generators\Schema\Breadcrumb->generate, Yoast\WP\SEO\Presentations\Abstract_Presentation->__get, Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_breadcrumbs, Yoast\WP\SEO\Generators\Breadcrumbs_Generator->generate, Yoast\WP\SEO\Repositories\Indexable_Repository->find_for_post_type_archive, Yoast\WP\SEO\Builders\Indexable_Builder->build_for_post_type_archive, Yoast\WP\SEO\Builders\Indexable_Builder->build, Yoast\WP\SEO\Helpers\Indexable_Helper->save_indexable, Yoast\WP\SEO\Models\Indexable->save, Yoast\WP\Lib\Model->save, Yoast\WP\Lib\ORM->save, Yoast\WP\Lib\ORM::execute
[25-Jun-2025 05:56:37 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query SELECT * FROM `wp_qkfxtrn72h_yoast_indexable` WHERE `object_id` = '49280' AND `object_type` = 'post' LIMIT 1 made by do_action('wp_ajax_wpml_api_wpml_v1_send-to-translation'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\UserInterface\Web\Infrastructure\WordPress\CompositionRoot\Config\Api->WPML\UserInterface\Web\Infrastructure\WordPress\CompositionRoot\Config\{closure}, WPML\UserInterface\Web\Infrastructure\CompositionRoot\Config\EndpointLoader->handle, WPML\UserInterface\Web\Core\Component\Dashboard\Application\Endpoint\SendToTranslation\SendToTranslationController->handle, WPML\Core\Component\Translation\Application\Service\TranslationService->send, WPML\Core\Component\Translation\Application\Service\TranslationService->byDuplicate, WPML\Legacy\Component\Translation\Sender\DuplicationSender->send, do_action('wpml_tm_send_post_jobs'), WP_Hook->do_action, WP_Hook->apply_filters, TranslationManagement->action_send_jobs, TranslationManagement->send_jobs, TranslationManagement->make_duplicate, SitePress->make_duplicate, WPML_Post_Duplication->make_duplicate, WPML_Post_Duplication->save_duplicate, WPML_Create_Post_Helper->insert_post, wp_update_post, wp_insert_post, wp_after_insert_post, do_action('wp_after_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, wp_save_post_revision_on_insert, wp_save_post_revision, _wp_put_post_revision, wp_insert_post, do_action('wp_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[25-Jun-2025 05:56:37 UTC] WordPress database error Table 'ugfd44219174112.wp_qkfxtrn72h_yoast_indexable' doesn't exist for query SELECT * FROM `wp_qkfxtrn72h_yoast_indexable` WHERE `object_id` = '49280' AND `object_type` = 'post' LIMIT 1 made by do_action('wp_ajax_wpml_api_wpml_v1_send-to-translation'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\UserInterface\Web\Infrastructure\WordPress\CompositionRoot\Config\Api->WPML\UserInterface\Web\Infrastructure\WordPress\CompositionRoot\Config\{closure}, WPML\UserInterface\Web\Infrastructure\CompositionRoot\Config\EndpointLoader->handle, WPML\UserInterface\Web\Core\Component\Dashboard\Application\Endpoint\SendToTranslation\SendToTranslationController->handle, WPML\Core\Component\Translation\Application\Service\TranslationService->send, WPML\Core\Component\Translation\Application\Service\TranslationService->byDuplicate, WPML\Legacy\Component\Translation\Sender\DuplicationSender->send, do_action('wpml_tm_send_post_jobs'), WP_Hook->do_action, WP_Hook->apply_filters, TranslationManagement->action_send_jobs, TranslationManagement->send_jobs, TranslationManagement->make_duplicate, SitePress->make_duplicate, WPML_Post_Duplication->make_duplicate, WPML_Post_Duplication->save_duplicate, WPML_Create_Post_Helper->insert_post, wp_update_post, wp_insert_post, wp_after_insert_post, do_action('wp_after_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, wp_save_post_revision_on_insert, wp_save_post_revision, _wp_put_post_revision, wp_insert_post, do_action('wp_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute

June 25, 2025 at 7:40 am #17167355

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

The topic ‘[Closed] Sending for translation fails when duplicating’ is closed to new replies.