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 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 3 replies, has 2 voices.

Last updated by Dražen Duvnjak 12 months ago.

Assisted by: Dražen Duvnjak.

Author Posts
April 24, 2023 at 1:01 pm #13527269

gaborN-2

Hi,
I'm building a site locally with Elementor and WPML. I just recently found out, that for every page load, ACFML generates more than 10000 lines of warning in the WP default debug.log. It seems to be the same warning, many-many times:

[24-Apr-2023 12:52:31 UTC] PHP Warning:  Undefined array key "ID" in /projectname/app/public/wp-content/plugins/acfml/classes/Strings/Traversable/Entity.php on line 60
[24-Apr-2023 12:52:31 UTC] PHP Stack trace:
[24-Apr-2023 12:52:31 UTC] PHP   1. {main}() /projectname/app/public/index.php:0
[24-Apr-2023 12:52:31 UTC] PHP   2. require() /projectname/app/public/index.php:17
[24-Apr-2023 12:52:31 UTC] PHP   3. require_once() /projectname/app/public/wp-blog-header.php:19
[24-Apr-2023 12:52:31 UTC] PHP   4. include() /projectname/app/public/wp-includes/template-loader.php:106
[24-Apr-2023 12:52:31 UTC] PHP   5. get_header() /projectname/app/public/wp-content/themes/hello-elementor/index.php:15
[24-Apr-2023 12:52:31 UTC] PHP   6. locate_template() /projectname/app/public/wp-includes/general-template.php:48
[24-Apr-2023 12:52:31 UTC] PHP   7. load_template() /projectname/app/public/wp-includes/template.php:718
[24-Apr-2023 12:52:31 UTC] PHP   8. require_once() /projectname/app/public/wp-includes/template.php:783
[24-Apr-2023 12:52:31 UTC] PHP   9. wp_head() /projectname/app/public/wp-content/themes/hello-elementor/header.php:21
[24-Apr-2023 12:52:31 UTC] PHP  10. do_action() /projectname/app/public/wp-includes/general-template.php:3049
[24-Apr-2023 12:52:31 UTC] PHP  11. WP_Hook->do_action() /projectname/app/public/wp-includes/plugin.php:517
[24-Apr-2023 12:52:31 UTC] PHP  12. WP_Hook->apply_filters() /projectname/app/public/wp-includes/class-wp-hook.php:332
[24-Apr-2023 12:52:31 UTC] PHP  13. wp_enqueue_scripts() /projectname/app/public/wp-includes/class-wp-hook.php:308
[24-Apr-2023 12:52:31 UTC] PHP  14. do_action() /projectname/app/public/wp-includes/script-loader.php:2194
[24-Apr-2023 12:52:31 UTC] PHP  15. WP_Hook->do_action() /projectname/app/public/wp-includes/plugin.php:517
[24-Apr-2023 12:52:31 UTC] PHP  16. WP_Hook->apply_filters() /projectname/app/public/wp-includes/class-wp-hook.php:332
[24-Apr-2023 12:52:31 UTC] PHP  17. ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->enqueue_styles() /projectname/app/public/wp-includes/class-wp-hook.php:308
[24-Apr-2023 12:52:31 UTC] PHP  18. Elementor\Frontend->enqueue_styles() /projectname/app/public/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php:89
[24-Apr-2023 12:52:31 UTC] PHP  19. Elementor\Core\Files\CSS\Post->enqueue() /projectname/app/public/wp-content/plugins/elementor/includes/frontend.php:676
[24-Apr-2023 12:52:31 UTC] PHP  20. Elementor\Core\Files\CSS\Post->enqueue() /projectname/app/public/wp-content/plugins/elementor/core/files/css/post.php:201
[24-Apr-2023 12:52:31 UTC] PHP  21. do_action() /projectname/app/public/wp-content/plugins/elementor/core/files/css/base.php:264
[24-Apr-2023 12:52:31 UTC] PHP  22. WP_Hook->do_action() /projectname/app/public/wp-includes/plugin.php:517
[24-Apr-2023 12:52:31 UTC] PHP  23. WP_Hook->apply_filters() /projectname/app/public/wp-includes/class-wp-hook.php:332
[24-Apr-2023 12:52:31 UTC] PHP  24. Elementor\Core\DynamicTags\Manager->after_enqueue_post_css() /projectname/app/public/wp-includes/class-wp-hook.php:308
[24-Apr-2023 12:52:31 UTC] PHP  25. Elementor\Core\DynamicTags\Dynamic_CSS->enqueue() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php:488
[24-Apr-2023 12:52:31 UTC] PHP  26. Elementor\Core\DynamicTags\Dynamic_CSS->enqueue() /projectname/app/public/wp-content/plugins/elementor/core/files/css/post.php:201
[24-Apr-2023 12:52:31 UTC] PHP  27. Elementor\Core\DynamicTags\Dynamic_CSS->update() /projectname/app/public/wp-content/plugins/elementor/core/files/css/base.php:217
[24-Apr-2023 12:52:31 UTC] PHP  28. Elementor\Core\DynamicTags\Dynamic_CSS->update_file() /projectname/app/public/wp-content/plugins/elementor/core/files/css/base.php:130
[24-Apr-2023 12:52:31 UTC] PHP  29. Elementor\Core\DynamicTags\Dynamic_CSS->parse_content() /projectname/app/public/wp-content/plugins/elementor/core/files/base.php:180
[24-Apr-2023 12:52:31 UTC] PHP  30. Elementor\Core\DynamicTags\Dynamic_CSS->render_css() /projectname/app/public/wp-content/plugins/elementor/core/files/css/base.php:651
[24-Apr-2023 12:52:31 UTC] PHP  31. Elementor\Core\DynamicTags\Dynamic_CSS->render_styles() /projectname/app/public/wp-content/plugins/elementor/core/files/css/post.php:178
[24-Apr-2023 12:52:31 UTC] PHP  32. Elementor\Core\DynamicTags\Dynamic_CSS->render_styles() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php:32
[24-Apr-2023 12:52:31 UTC] PHP  33. Elementor\Includes\Elements\Container->get_parsed_dynamic_settings() /projectname/app/public/wp-content/plugins/elementor/core/files/css/post.php:298
[24-Apr-2023 12:52:31 UTC] PHP  34. Elementor\Includes\Elements\Container->parse_dynamic_settings() /projectname/app/public/wp-content/plugins/elementor/includes/base/controls-stack.php:1127
[24-Apr-2023 12:52:31 UTC] PHP  35. Elementor\Control_Media->parse_tags() /projectname/app/public/wp-content/plugins/elementor/includes/base/controls-stack.php:1276
[24-Apr-2023 12:52:31 UTC] PHP  36. Elementor\Core\DynamicTags\Manager->parse_tags_text() /projectname/app/public/wp-content/plugins/elementor/includes/controls/base-data.php:91
[24-Apr-2023 12:52:31 UTC] PHP  37. Elementor\Core\DynamicTags\Manager->parse_tag_text() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php:70
[24-Apr-2023 12:52:31 UTC] PHP  38. call_user_func_array:{/projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php:109}() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php:109
[24-Apr-2023 12:52:31 UTC] PHP  39. Elementor\Core\DynamicTags\Manager->get_tag_data_content() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php:109
[24-Apr-2023 12:52:31 UTC] PHP  40. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->get_content() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php:216
[24-Apr-2023 12:52:31 UTC] PHP  41. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->get_value() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/data-tag.php:44
[24-Apr-2023 12:52:31 UTC] PHP  42. ElementorPro\Modules\DynamicTags\ACF\Module::get_tag_value_field() /projectname/app/public/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-image.php:40
[24-Apr-2023 12:52:31 UTC] PHP  43. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->get_settings() /projectname/app/public/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/module.php:138
[24-Apr-2023 12:52:31 UTC] PHP  44. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->ensure_settings() /projectname/app/public/wp-content/plugins/elementor/core/base/base-object.php:40
[24-Apr-2023 12:52:31 UTC] PHP  45. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->get_init_settings() /projectname/app/public/wp-content/plugins/elementor/core/base/base-object.php:142
[24-Apr-2023 12:52:31 UTC] PHP  46. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->get_data() /projectname/app/public/wp-content/plugins/elementor/includes/base/controls-stack.php:2163
[24-Apr-2023 12:52:31 UTC] PHP  47. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->sanitize_settings() /projectname/app/public/wp-content/plugins/elementor/includes/base/controls-stack.php:1109
[24-Apr-2023 12:52:31 UTC] PHP  48. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->get_controls() /projectname/app/public/wp-content/plugins/elementor/includes/base/controls-stack.php:2416
[24-Apr-2023 12:52:31 UTC] PHP  49. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->get_stack() /projectname/app/public/wp-content/plugins/elementor/includes/base/controls-stack.php:300
[24-Apr-2023 12:52:31 UTC] PHP  50. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->init_controls() /projectname/app/public/wp-content/plugins/elementor/includes/base/controls-stack.php:496
[24-Apr-2023 12:52:31 UTC] PHP  51. ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Image->register_controls() /projectname/app/public/wp-content/plugins/elementor/core/dynamic-tags/base-tag.php:179
[24-Apr-2023 12:52:31 UTC] PHP  52. ElementorPro\Modules\DynamicTags\ACF\Module::add_key_control() /projectname/app/public/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-image.php:83
[24-Apr-2023 12:52:31 UTC] PHP  53. ElementorPro\Modules\DynamicTags\ACF\Module::get_control_options() /projectname/app/public/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/module.php:118
[24-Apr-2023 12:52:31 UTC] PHP  54. acf_get_fields() /projectname/app/public/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/module.php:60
[24-Apr-2023 12:52:31 UTC] PHP  55. acf_get_field() /projectname/app/public/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php:372
[24-Apr-2023 12:52:31 UTC] PHP  56. apply_filters() /projectname/app/public/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php:58
[24-Apr-2023 12:52:31 UTC] PHP  57. WP_Hook->apply_filters() /projectname/app/public/wp-includes/plugin.php:205
[24-Apr-2023 12:52:31 UTC] PHP  58. ACFML\Strings\BaseHooks->translateField() /projectname/app/public/wp-includes/class-wp-hook.php:308
[24-Apr-2023 12:52:31 UTC] PHP  59. ACFML\Strings\Translator->translateField() /projectname/app/public/wp-content/plugins/acfml/classes/Strings/BaseHooks.php:74
[24-Apr-2023 12:52:31 UTC] PHP  60. ACFML\Helper\Fields::iterate() /projectname/app/public/wp-content/plugins/acfml/classes/Strings/Translator.php:63
[24-Apr-2023 12:52:31 UTC] PHP  61. ACFML\Helper\Fields::iterate() /projectname/app/public/wp-content/plugins/acfml/classes/Helper/Fields.php:25
[24-Apr-2023 12:52:31 UTC] PHP  62. ACFML\Helper\Fields::iterate() /projectname/app/public/wp-content/plugins/acfml/classes/Helper/Fields.php:25
[24-Apr-2023 12:52:31 UTC] PHP  63. ACFML\Strings\Translator->ACFML\Strings\{closure:/projectname/app/public/wp-content/plugins/acfml/classes/Strings/Translator.php:80-82}() /projectname/app/public/wp-content/plugins/acfml/classes/Helper/Fields.php:21
[24-Apr-2023 12:52:31 UTC] PHP  64. ACFML\Strings\Traversable\Field->traverse() /projectname/app/public/wp-content/plugins/acfml/classes/Strings/Translator.php:81
[24-Apr-2023 12:52:31 UTC] PHP  65. ACFML\Strings\Traversable\Field->getStringData() /projectname/app/public/wp-content/plugins/acfml/classes/Strings/Traversable/Entity.php:30
April 26, 2023 at 6:39 am #13538053

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for contacting us.

The error message seems to be related to dynamic tags from Elementor. Can you please check next:

1) Please check if the issue happens when only WPML plugins and ACF are enabled, all others disabled.

2) Enable only Elementor with WPML plugins and ACF and check if the issue still happens.

3) Does the same issue happen on any other pages or only specific ones? Does it happen on a new test page if you create one?

Please let me know.

Thanks,
Drazen

May 3, 2023 at 5:26 am #13574641

gaborN-2

Hi,
1) in this case, the error is not there
2) errors are back
3) every page (even the /wp-login.php)
Ben

May 3, 2023 at 6:18 am #13574997

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello Ben,

thanks for getting back.

1) Please create a staging site and share admin access to it so we can check the problem.

2) Make sure only WPML, ACF and Elementor are enabled, all others are disabled.

Regards,
Drazen

The topic ‘[Closed] 10300 lines of Warning in debuglog for every page reload’ is closed to new replies.