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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 5 replies, has 1 voice.

Last updated by Long Nguyen 1 month, 4 weeks ago.

Assisted by: Long Nguyen.

Author Posts
November 17, 2024 at 9:38 pm #16412195

stephenR-22

Background of the issue:
We've relaunched a site after moving from a proprietary theme to Divi and are finding some pages, even though translations are 100% complete, don't display in French (the secondary language). We're under a lot of pressure to get the French version of the site online.

Symptoms:
When trying to Save & Close the page, the spinner never stops spinning. Refreshing the page shows the translation is 100% complete, but the page doesn't display in French.

Questions:
Why doesn't the French version of the page display even though it's 100% translated?
Why does the Save & Close spinner never stop spinning?

November 18, 2024 at 12:27 am #16412325

stephenR-22

I'm finding that some pages save, and then save and close without trouble, but some pages just never finish saving, or never finish saving and closing, and for those pages the translated content, while complete, doesn't show on those pages - the page displays blank (just the header and footer with zero body content).

I'm not sure if this means those pages/translations are corrupt in some way, but if that's the case, I have no idea how to resolve that and get those pages to save and render correctly.

November 18, 2024 at 4:36 am #16412682

stephenR-22

PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /nas/content/live/lfdg/wp-content/plugins/advanced-custom-fields-pro/pro/fields/class-acf-field-flexible-content.php:727\nStack trace:\n#0 /nas/content/live/lfdg/wp-includes/class-wp-hook.php(324): acf_field_flexible_content->load_value(Array, 1502, Array)\n#1 /nas/content/live/lfdg/wp-includes/plugin.php(256): WP_Hook->apply_filters(Array, Array)\n#2 /nas/content/live/lfdg/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php(109): apply_filters_ref_array('acf/load_value/...', Array)\n#3 /nas/content/live/lfdg/wp-includes/class-wp-hook.php(324): _acf_apply_hook_variations(Array, 1502, Array)\n#4 /nas/content/live/lfdg/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)\n#5 /nas/content/live/lfdg/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php(118): apply_filters('acf/load_value', Array, 1502, Array)\n#6 /nas/content/live/lfdg/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-template.php(246): acf_get_value(1502, Array)\n#7 /nas/content/live/lfdg/wp-content/plugins/relevanssi/lib/compatibility/acf.php(174): get_field_object('page_flex_block...')\n#8 /nas/content/live/lfdg/wp-includes/class-wp-hook.php(324): relevanssi_acf_exclude_fields(Array, 1502)\n#9 /nas/content/live/lfdg/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)\n#10 /nas/content/live/lfdg/wp-content/plugins/relevanssi/lib/common.php(1771): apply_filters('relevanssi_inde...', Array, 1502)\n#11 /nas/content/live/lfdg/wp-content/plugins/relevanssi/lib/indexing.php(1265): relevanssi_generate_list_of_custom_fields(1502, Array)\n#12 /nas/content/live/lfdg/wp-content/plugins/relevanssi/lib/indexing.php(573): relevanssi_index_custom_fields(Array, 1502, 'visible', '3', false)\n#13 /nas/content/live/lfdg/wp-content/plugins/relevanssi/lib/indexing.php(832): relevanssi_index_doc(1502, true, 'visible', true)\n#14 /nas/content/live/lfdg/wp-content/plugins/relevanssi/lib/indexing.php(905): relevanssi_publish(1502, true)\n#15 /nas/content/live/lfdg/wp-includes/class-wp-hook.php(326): relevanssi_insert_edit(1502)\n#16 /nas/content/live/lfdg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\n#17 /nas/content/live/lfdg/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#18 /nas/content/live/lfdg/wp-includes/post.php(5781): do_action('wp_after_insert...', 1502, Object(WP_Post), true, Object(WP_Post))\n#19 /nas/content/live/lfdg/wp-includes/post.php(5074): wp_after_insert_post(Object(WP_Post), true, Object(WP_Post))\n#20 /nas/content/live/lfdg/wp-includes/post.php(5162): wp_insert_post(Array, false, true)\n#21 /nas/content/live/lfdg/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-create-post-helper.class.php(42): wp_update_post(Array, false)\n#22 /nas/content/live/lfdg/wp-content/plugins/sitepress-multilingual-cms/inc/translation-jobs/helpers/wpml-save-translation-data-action.class.php(183): WPML_Create_Post_Helper->insert_post(Array, 'fr')\n#23 /nas/content/live/lfdg/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-editor/class-wpml-tm-editor-save-ajax-action.php(22): WPML_Save_Translation_Data_Action->save_translation()\n#24 /nas/content/live/lfdg/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-editor/class-wpml-tm-editor-job-save.php(9): WPML_TM_Editor_Save_Ajax_Action->run()\n#25 /nas/content/live/lfdg/wp-content/plugins/sitepress-multilingual-cms/classes/editor/ClassicEditorActions.php(39): WPML_TM_Editor_Job_Save->save(Array)\n#26 /nas/content/live/lfdg/wp-includes/class-wp-hook.php(324): WPML\\TM\\Editor\\ClassicEditorActions->saveJob('')\n#27 /nas/content/live/lfdg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)\n#28 /nas/content/live/lfdg/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#29 /nas/content/live/lfdg/wp-admin/admin-ajax.php(192): do_action('wp_ajax_wpml_sa...')\n#30 {main}\n thrown in /nas/content/live/lfdg/wp-content/plugins/advanced-custom-fields-pro/pro/fields/class-acf-field-flexible-content.php on line 727, referer: hidden link

Getting this error on the back end - disabling Advance Custom Fields Pro and Relevanci enables saving, but the site relies heavily on ACF Pro, so that's not a solution.

November 18, 2024 at 12:17 pm #16414777

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hi,

thanks for contacting us.

Please update WPML to version 4.6.14 and see if it helps.

If it doesn't, the issue is not directly related to WPML but to ACF so you should ask their support first. If there is something we need to do on our side we'll be happy to help.

November 18, 2024 at 2:58 pm #16415401

stephenR-22

We're currently running Version 4.6.14.

If I disable ACF, I can get the existing translations on pages to save when updated, and I can close those pages out, however the new translations won't save even with ACF disabled, and I can't get those pages to work at all.

If you look at the attached image with the blue field UI - if a translation doesn't exist already for a page, this is the editor UI that I get, and while it completes, the spinner on the Complete Translation button never stops spinning, and the translation never seems to save, as a result pages in this stage are never available to view.

With the other green UI in the second screenshot, those translations do save with ACF turned off, and I'm able to view those pages on the front end as a logged out user without any difficulty.

I can deal with turning off ACF to get translations completed in the short term, and will take up the ACF issue with their support team, but I can't seem to get the other blue UI issue to resolve, and as such those pages are unavailable.

If you're able to help resolve that issue, that would be greatly appreciated.

Screenshot 2024-11-18 at 9.56.25 AM.png
Screenshot 2024-11-18 at 9.54.53 AM.png
November 19, 2024 at 8:25 am #16417991

Long Nguyen
Supporter

Languages: English (English )

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

Hi Stephen,

Thank you for contacting WPML support, I’m happy to help you with this issue.

The "blue field UI" is the Advanced Translation Editor (ATE), the "green field UI" is the Classic Translation Editor (CTE).
I suggest you reload the ATE page and complete the translation to see if it helps.

If not, please let me know the page that you are translating, then I would like to request temporary access (wp-admin and FTP) to your site so I can 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.

Looking forward to your reply.
Thanks

The topic ‘[Closed] Saving translated pages never completes, translated pages don’t display’ is closed to new replies.