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 43 replies, has 3 voices.

Last updated by Lauren 1 year, 7 months ago.

Assisted by: Lauren.

Author Posts
August 17, 2023 at 4:36 pm #14247925

barrettL

Hi Lauren, we tried migrating the site again this morning but got an error.

"Error! The destination database could not be validated. Please check the destination WordPress and retry."

Can you double check and let us know what we are missing?

Thanks.

Screenshot 2023-08-17 at 11.34.05 AM.png
Screenshot 2023-08-17 at 11.34.42 AM.png
August 17, 2023 at 5:53 pm #14248263

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

It's not working from my end either. Is it possible for you to send credentials to the test environment that you set up? if so, I have marked the next reply as private so you can safely share them.

August 17, 2023 at 5:59 pm #14248303

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

It's not working from my end either. Is it possible for you to send credentials to the test environment that you set up? if so, I have marked the next reply as private so you can safely share them.

August 17, 2023 at 6:25 pm
August 17, 2023 at 7:50 pm #14248547

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I'm able to access the test site. Please send me:

1. The name of the Field Group where the issue is happening (from this list hidden link)
2. The name of the field within the group where the issue is happening.

Thanks!

August 17, 2023 at 7:58 pm #14248557

barrettL

It is not a specific field or a specific field group. At this point of my testing it seems it could be any type of block. Each block has its own field group and various types of fields. It doesn't seem to matter which field is edited on a block.

Here are some pages with block examples of where you can edit a block and see it become corrupted.

1. hidden link (last block on the page "Reach your full potential")
2. hidden link (second block on the page "increased production")

Please let me know if you are able to see the issue i'm describing on either of those examples.

August 17, 2023 at 8:34 pm #14248727

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I understand it is not necessarily consistent to one field, however, in order to save me a lot of time from sorting though so many field groups and fields, please tell me specifcailly the name of the field group and fields where I can find the last block on the first page "Reach your full potential" and the second block on the second page "increased production".

Thanks for your help.

August 17, 2023 at 9:06 pm #14248839

barrettL

I've created another loom video showing the same issue as the first video but now showing the issue in the testwpmlnovus.wpengine.com site which has our theme disabled. hidden link

August 18, 2023 at 12:33 pm #14252503

barrettL

Hi Lauren,

We pulled the site to Local and turned on Xdebug. Here is the log if it is helpful.

[18-Aug-2023 12:18:40 UTC] PHP Warning: Array to string conversion in /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/acfml/classes/class-wpml-acf-blocks.php on line 164
[18-Aug-2023 12:18:40 UTC] PHP Stack trace:
[18-Aug-2023 12:18:40 UTC] PHP 1. shutdown_action_hook() /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/load.php:0
[18-Aug-2023 12:18:40 UTC] PHP 2. do_action($hook_name = 'shutdown') /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/load.php:1252
[18-Aug-2023 12:18:40 UTC] PHP 3. WP_Hook->do_action($args = [0 => '']) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/plugin.php:517
[18-Aug-2023 12:18:40 UTC] PHP 4. WP_Hook->apply_filters($value = '', $args = [0 => '']) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php:334
[18-Aug-2023 12:18:40 UTC] PHP 5. WPML\PB\Shutdown\Hooks->registerStrings('') /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php:310
[18-Aug-2023 12:18:40 UTC] PHP 6. WPML_PB_Integration->register_all_strings_for_translation($post = class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }, $allowRegisteringPostTranslation = *uninitialized*) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/Shutdown/Hooks.php:29
[18-Aug-2023 12:18:40 UTC] PHP 7. WPML_PB_Integration->with_strategies($callable = class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [0 => class WP_Post { ... }] }) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-wpml-pb-integration.php:218
[18-Aug-2023 12:18:40 UTC] PHP 8. WPML\FP\Fns::each(class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [0 => class WP_Post { ... }] }, [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-wpml-pb-integration.php:288
[18-Aug-2023 12:18:40 UTC] PHP 9. WPML\FP\Fns::__callStatic($method = 'each', $parameters = [0 => class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [...] }, 1 => [0 => class WPML_PB_API_Hooks_Strategy { ... }]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-wpml-pb-integration.php:288
[18-Aug-2023 12:18:40 UTC] PHP 10. call_user_func_array:{/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:56}($callback = class Closure { public $static = ['count' => 2, 'fn' => class Closure { ... }, 'arguments' => [...], 'accumulator' => class Closure { ... }] }, $args = [0 => class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [...] }, 1 => [0 => class WPML_PB_API_Hooks_Strategy { ... }]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:56
[18-Aug-2023 12:18:40 UTC] PHP 11. WPML\FP\Fns::WPML\FP\{closure:/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:137-158}(class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [0 => class WP_Post { ... }] }, [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:56
[18-Aug-2023 12:18:40 UTC] PHP 12. call_user_func_array:{/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154}($callback = class Closure { public $parameter = ['$fn' => '<required>', '$target' => '<required>'] }, $args = [0 => class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [...] }, 1 => [0 => class WPML_PB_API_Hooks_Strategy { ... }]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154
[18-Aug-2023 12:18:40 UTC] PHP 13. WPML\FP\Fns::WPML\FP\{closure:/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:168-170}($fn = class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [0 => class WP_Post { ... }] }, $target = [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154
[18-Aug-2023 12:18:40 UTC] PHP 14. WPML\FP\Fns::map(class Closure { public $static = ['count' => 2, 'fn' => class Closure { ... }, 'arguments' => [...], 'accumulator' => class Closure { ... }] }, [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:169
[18-Aug-2023 12:18:40 UTC] PHP 15. WPML\FP\Fns::__callStatic($method = 'map', $parameters = [0 => class Closure { public $static = [...] }, 1 => [0 => class WPML_PB_API_Hooks_Strategy { ... }]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:169
[18-Aug-2023 12:18:40 UTC] PHP 16. call_user_func_array:{/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:56}($callback = class Closure { public $static = ['count' => 2, 'fn' => class Closure { ... }, 'arguments' => [...], 'accumulator' => class Closure { ... }] }, $args = [0 => class Closure { public $static = [...] }, 1 => [0 => class WPML_PB_API_Hooks_Strategy { ... }]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:56
[18-Aug-2023 12:18:40 UTC] PHP 17. WPML\FP\Fns::WPML\FP\{closure:/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:137-158}(class Closure { public $static = ['count' => 2, 'fn' => class Closure { ... }, 'arguments' => [...], 'accumulator' => class Closure { ... }] }, [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:56
[18-Aug-2023 12:18:40 UTC] PHP 18. call_user_func_array:{/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154}($callback = class Closure { public $parameter = ['$fn' => '<required>', '$target' => '<required>'] }, $args = [0 => class Closure { public $static = [...] }, 1 => [0 => class WPML_PB_API_Hooks_Strategy { ... }]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154
[18-Aug-2023 12:18:40 UTC] PHP 19. WPML\FP\Fns::WPML\FP\{closure:/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:154-166}($fn = class Closure { public $static = ['count' => 2, 'fn' => class Closure { ... }, 'arguments' => [...], 'accumulator' => class Closure { ... }] }, $target = [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154
[18-Aug-2023 12:18:40 UTC] PHP 20. array_map($callback = class Closure { public $static = ['count' => 2, 'fn' => class Closure { ... }, 'arguments' => [...], 'accumulator' => class Closure { ... }] }, $array = [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }], ...$arrays = variadic()) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:164
[18-Aug-2023 12:18:40 UTC] PHP 21. WPML\FP\{closure:/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:137-158}(class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { private $wpdb = class wpdb { ... }; private $sitepress = class SitePress { ... }; private $string_translations = [...] }; private $name = 'Gutenberg' }, 0) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:164
[18-Aug-2023 12:18:40 UTC] PHP 22. call_user_func_array:{/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154}($callback = class Closure { public $parameter = ['$fn' => '<required>', '$value' => '<required>'] }, $args = [0 => class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [...] }, 1 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }, 2 => 0]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154
[18-Aug-2023 12:18:40 UTC] PHP 23. WPML\FP\Fns::WPML\FP\{closure:/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:174-178}($fn = class WPML\FP\Invoker\_Invoker { private $fnName = 'register_strings'; private $args = [0 => class WP_Post { ... }] }, $value = class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { private $wpdb = class wpdb { ... }; private $sitepress = class SitePress { ... }; private $string_translations = [...] }; private $name = 'Gutenberg' }, 0) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154
[18-Aug-2023 12:18:40 UTC] PHP 24. WPML\FP\Invoker\_Invoker->__invoke($instance = class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { private $wpdb = class wpdb { ... }; private $sitepress = class SitePress { ... }; private $string_translations = [...] }; private $name = 'Gutenberg' }) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php:175
[18-Aug-2023 12:18:40 UTC] PHP 25. call_user_func_array:{/Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Invoker/Invoker.php:41}($callback = [0 => class WPML_PB_API_Hooks_Strategy { private $factory = class WPML_PB_Factory { ... }; private $name = 'Gutenberg' }, 1 => 'register_strings'], $args = [0 => class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Invoker/Invoker.php:41
[18-Aug-2023 12:18:40 UTC] PHP 26. WPML_PB_API_Hooks_Strategy->register_strings($post = class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Invoker/Invoker.php:41
[18-Aug-2023 12:18:40 UTC] PHP 27. do_action($hook_name = 'wpml_page_builder_register_strings', ...$arg = variadic(class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }, ['kind' => 'Gutenberg', 'name' => 9362, 'title' => 'Page Builder Page 9362', 'post_id' => 9362])) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/strategy/api-hooks/class-wpml-pb-api-hooks-strategy.php:17
[18-Aug-2023 12:18:40 UTC] PHP 28. WP_Hook->do_action($args = [0 => class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }, 1 => ['kind' => 'Gutenberg', 'name' => 9362, 'title' => 'Page Builder Page 9362', 'post_id' => 9362]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/plugin.php:517
[18-Aug-2023 12:18:40 UTC] PHP 29. WP_Hook->apply_filters($value = '', $args = [0 => class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }, 1 => ['kind' => 'Gutenberg', 'name' => 9362, 'title' => 'Page Builder Page 9362', 'post_id' => 9362]]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php:334
[18-Aug-2023 12:18:40 UTC] PHP 30. WPML_Gutenberg_Integration->register_strings($post = class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }, $package_data = ['kind' => 'Gutenberg', 'name' => 9362, 'title' => 'Page Builder Page 9362', 'post_id' => 9362]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php:310
[18-Aug-2023 12:18:40 UTC] PHP 31. WPML_Gutenberg_Strings_Registration->register_strings($post = class WP_Post { public $ID = 9362; public $post_author = '2'; public $post_date = '2023-04-28 12:09:51'; public $post_date_gmt = '2023-04-28 17:09:51'; public $post_content = '<!-- wp:acf/oms-hero-slider {"name":"acf/oms-hero-slider","data":{"species_select":"beef","_species_select":"field_6462a4e32b54b","species":"","_species":"field_6462a4af6d4ee","short_hero":"0","_short_hero":"field_6489e5a8c8372","hero_title":"Cattle Nutrition: Produce Better Beef Around The World","_hero_title":"field_633c90a5ea3c1","content_image":"","_content_image":"field_6452c97f27f51","hero_content":"Deliver healthy protein to the world by enhancing your production with Intelligent Nutrition for beef p'...; public $post_title = 'Beef'; public $post_excerpt = ''; public $post_status = 'publish'; public $comment_status = 'closed'; public $ping_status = 'closed'; public $post_password = ''; public $post_name = 'beef'; public $to_ping = ''; public $pinged = ''; public $post_modified = '2023-08-18 07:18:38'; public $post_modified_gmt = '2023-08-18 12:18:38'; public $post_content_filtered = ''; public $post_parent = 0; public $guid = 'hidden link'; public $menu_order = 85; public $post_type = 'page'; public $post_mime_type = ''; public $comment_count = '0'; public $filter = 'raw'; public $robotsmeta = NULL }, $package_data = ['kind' => 'Gutenberg', 'name' => 9362, 'title' => 'Page Builder Page 9362', 'post_id' => 9362]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/class-wpml-gutenberg-integration.php:68
[18-Aug-2023 12:18:40 UTC] PHP 32. WPML_Gutenberg_Strings_Registration->register_blocks($blocks = [0 => ['blockName' => 'acf/oms-hero-slider', 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '', 'innerContent' => [...]], 1 => ['blockName' => NULL, 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '\n\n', 'innerContent' => [...]], 2 => ['blockName' => 'acf/oms-image-text', 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '', 'innerContent' => [...]], 3 => ['blockName' => NULL, 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '\n\n', 'innerContent' => [...]], 4 => ['blockName' => 'acf/oms-image-text', 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '', 'innerContent' => [...]], 5 => ['blockName' => NULL, 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '\n\n', 'innerContent' => [...]], 6 => ['blockName' => 'acf/oms-columns', 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '', 'innerContent' => [...]], 7 => ['blockName' => NULL, 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '\n\n', 'innerContent' => [...]], 8 => ['blockName' => 'acf/oms-cta', 'attrs' => [...], 'innerBlocks' => [...], 'innerHTML' => '', 'innerContent' => [...]]], $package_data = ['kind' => 'Gutenberg', 'name' => 9362, 'title' => 'Page Builder Page 9362', 'post_id' => 9362], $post_id = 9362) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/class-wpml-gutenberg-strings-registration.php:56
[18-Aug-2023 12:18:40 UTC] PHP 33. WPML\PB\Gutenberg\StringsInBlock\Collection->find($block = class WP_Block_Parser_Block { public $blockName = 'acf/oms-image-text'; public $attrs = ['name' => 'acf/oms-image-text', 'data' => [...], 'mode' => 'preview']; public $innerBlocks = []; public $innerHTML = ''; public $innerContent = [] }) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/class-wpml-gutenberg-strings-registration.php:98
[18-Aug-2023 12:18:40 UTC] PHP 34. apply_filters($hook_name = 'wpml_found_strings_in_block', $value = [], ...$args = variadic(class WP_Block_Parser_Block { public $blockName = 'acf/oms-image-text'; public $attrs = ['name' => 'acf/oms-image-text', 'data' => [...], 'mode' => 'preview']; public $innerBlocks = []; public $innerHTML = ''; public $innerContent = [] })) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/strings-in-block/class-collection.php:40
[18-Aug-2023 12:18:40 UTC] PHP 35. WP_Hook->apply_filters($value = [], $args = [0 => [], 1 => class WP_Block_Parser_Block { public $blockName = 'acf/oms-image-text'; public $attrs = [...]; public $innerBlocks = [...]; public $innerHTML = ''; public $innerContent = [...] }]) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/plugin.php:205
[18-Aug-2023 12:18:40 UTC] PHP 36. WPML_ACF_Blocks->add_block_data_attribute_strings($strings = [], $block = class WP_Block_Parser_Block { public $blockName = 'acf/oms-image-text'; public $attrs = ['name' => 'acf/oms-image-text', 'data' => [...], 'mode' => 'preview']; public $innerBlocks = []; public $innerHTML = ''; public $innerContent = [] }) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php:310
[18-Aug-2023 12:18:40 UTC] PHP 37. WPML_ACF_Blocks->add_string($block = class WP_Block_Parser_Block { public $blockName = 'acf/oms-image-text'; public $attrs = ['name' => 'acf/oms-image-text', 'data' => [...], 'mode' => 'preview']; public $innerBlocks = []; public $innerHTML = ''; public $innerContent = [] }, $text = ['field_64bae111047ac_field_64b83e7f2a2a4' => ''], $field_name = '-c7ae2c4360178eb4f91e619647e32a9e/field_64bae111047ac', $type = 'array') /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/acfml/classes/class-wpml-acf-blocks.php:52
[18-Aug-2023 12:18:40 UTC] PHP 38. WPML_ACF_Blocks->get_string_hash($block_name = 'acf/oms-image-text', $text = ['field_64bae111047ac_field_64b83e7f2a2a4' => '']) /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/acfml/classes/class-wpml-acf-blocks.php:73
[18-Aug-2023 12:18:40 UTC] PHP Fatal error: Uncaught TypeError: strlen(): Argument #1 ($string) must be of type string, array given in /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/classes/filters/strings-filter/class-wpml-register-string-filter.php:205
Stack trace:
#0 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/classes/filters/strings-filter/class-wpml-register-string-filter.php(184): WPML_Register_String_Filter->save_string(Array, false, 'en', 'gutenberg-9362', '', 'd49eeed064f96bc...')
#1 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/inc/functions.php(214): WPML_Register_String_Filter->register_string('', 'd49eeed064f96bc...', Array, false, 'en')
#2 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package.class.php(313): icl_register_string('gutenberg-9362', 'd49eeed064f96bc...', Array, false, 'en')
#3 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package-translation-helper.class.php(532): WPML_Package->get_string_id_from_package('d49eeed064f96bc...', Array)
#4 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package-translation-helper.class.php(176): WPML_Package_Helper->get_string_id_from_package(Object(WPML_Package), 'd49eeed064f96bc...', Array)
#5 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package-translation-helper.class.php(148): WPML_Package_Helper->register_string_with_wpml(Object(WPML_Package), 'd49eeed064f96bc...', 'acf/oms-image-t...', 'array', Array)
#6 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package-translation-helper.class.php(82): WPML_Package_Helper->register_string_for_translation(Array, 'd49eeed064f96bc...', Object(WPML_Package), 'acf/oms-image-t...', 'array')
#7 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php(310): WPML_Package_Helper->register_string_action(Array, 'd49eeed064f96bc...', Array, 'acf/oms-image-t...', 'array')
#8 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#9 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/class-wpml-gutenberg-strings-registration.php(115): do_action('wpml_register_s...', Array, 'd49eeed064f96bc...', Array, 'acf/oms-image-t...', 'array')
#11 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/class-wpml-gutenberg-strings-registration.php(56): WPML_Gutenberg_Strings_Registration->register_blocks(Array, Array, 9362)
#12 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Gutenberg/class-wpml-gutenberg-integration.php(68): WPML_Gutenberg_Strings_Registration->register_strings(Object(WP_Post), Array)
#13 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php(310): WPML_Gutenberg_Integration->register_strings(Object(WP_Post), Array)
#14 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
#15 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/strategy/api-hooks/class-wpml-pb-api-hooks-strategy.php(17): do_action('wpml_page_build...', Object(WP_Post), Array)
#17 [internal function]: WPML_PB_API_Hooks_Strategy->register_strings(Object(WP_Post))
#18 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Invoker/Invoker.php(41): call_user_func_array(Array, Array)
#19 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(175): WPML\FP\Invoker\_Invoker->__invoke(Object(WPML_PB_API_Hooks_Strategy))
#20 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(WPML\FP\Invoker\_Invoker), Object(WPML_PB_API_Hooks_Strategy), 0)
#21 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#22 [internal function]: WPML\FP\{closure}(Object(WPML_PB_API_Hooks_Strategy), 0)
#23 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(164): array_map(Object(Closure), Array, Array)
#24 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)
#25 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#26 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(Closure), Array)
#27 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#28 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(169): WPML\FP\Fns::__callStatic('map', Array)
#29 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(WPML\FP\Invoker\_Invoker), Array)
#30 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array(Object(Closure), Array)
#31 [internal function]: WPML\FP\Fns::WPML\FP\{closure}(Object(WPML\FP\Invoker\_Invoker), Array)
#32 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array(Object(Closure), Array)
#33 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-wpml-pb-integration.php(288): WPML\FP\Fns::__callStatic('each', Array)
#34 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/class-wpml-pb-integration.php(218): WPML_PB_Integration->with_strategies(Object(WPML\FP\Invoker\_Invoker))
#35 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/Shutdown/Hooks.php(29): WPML_PB_Integration->register_all_strings_for_translation(Object(WP_Post))
#36 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php(310): WPML\PB\Shutdown\Hooks->registerStrings('')
#37 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#38 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#39 /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-includes/load.php(1252): do_action('shutdown')
#40 [internal function]: shutdown_action_hook()
#41 {main}
thrown in /Users/joe/Local Sites/test-wpml-acf-issue-novus/app/public/wp-content/plugins/wpml-string-translation/classes/filters/strings-filter/class-wpml-register-string-filter.php on line 205

August 18, 2023 at 1:49 pm #14252819

barrettL

We had also reached out to Advanced Custom Fields to look into the issue. Their response:

"I went ahead and logged in to the site you shared, disabled all the plugins apart from ACF and your OMS plugins, and the block gets saved when you try editing it as you can see here hidden link. From the error log you shared the issue appears to be coming from the WPML String Translations plugin, see: hidden link."

August 21, 2023 at 2:14 pm #14264899

barrettL

Good morning Lauren. I am following up to see if there are any updates. Thanks.

August 21, 2023 at 3:45 pm #14265801

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Good morning, when I try to continue testing, if I access hidden link I get the message "This has been disabled.". Has the testing site been taken down?

August 21, 2023 at 3:51 pm #14265819

barrettL

Hi Lauren, per the login credentials provided on 8/17:

WordPress access details:
hidden link

Let us know if you need anything else.

August 21, 2023 at 5:18 pm #14266109

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thanks, I was trying to access the edit link directly and forgot about the different login. So, a few things on this test site I have noticed.

1. Is it possible to deactivate all non WPML and ACF plugins to make sure there are no uncessary conflicts? We need this site as minimal set we can get it for testing.

2. I changed the ACF setting to Expert so that I could see the translation settings. I saw that one of the fields we have looked at in the screencasts is this background color field. Now, I know that the issue is happening on multiple fields, but I just wanted to check this one first. Since it's a clone field, I went to Field Groups and found this particular field in Global Fields for Blocks group. When I expand the fields I can see the icon showing to set translation status for these fields. Opening the background color field shows me that it is set as Not Translatable. Please try switching this to Translatable or Copy Once. Then let's see if that changes anything in the database for this particular field when you edit it.

3. When I edit the page you sent as an example, and I click on a block, I don't see any content in the sidebar. Your video shows Settings, Content, Jumplink but I'm not seeing anything. I clicked on multiple blocks, multiple areas of content, etc. I have attached a screenshot of what I am seeing.

Screenshot 2023-08-21 131051.jpg
Screenshot 2023-08-21 131136.jpg
August 21, 2023 at 7:49 pm #14266655

barrettL

1.Plugins have been deactivated. The only active plugins are WPML plugins, ACF Pro, WPML Migrate plugin, and oms-pageblocks which is what is creating the custom ACF blocks.
2. The background color field was updated to translatable and the issue persists. This is a property for the block and should not be translatable.
3. To enable Preview mode, when a block is selected choose the Preview mode (see screenshot). Even when not in Preview mode the results are the same, it’s just a layout preference. If you make a change and save, the block will break.

Let us know if you need anything else.
Thanks.

Screenshot 2023-08-21 at 1.57.18 PM.png