I have a problem on a website between Elementor Pro and ACF pro. It seems to be with the photo galleries, but I’m not sure. The error that appears is the following:
PHP: 2024-08-02 13:43:19 [error X 3][/var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-gallery.php::48] Uncaught TypeError: Cannot access offset of type string on string in /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-gallery.php:48
Stack trace:
#0 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/dynamic-tags/data-tag.php(44): ElementorPro\Modules\DynamicTags\ACF\Tags\ACF_Gallery->get_value()
#1 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/dynamic-tags/manager.php(216): Elementor\Core\DynamicTags\Data_Tag->get_content()
#2 [internal function]: Elementor\Core\DynamicTags\Manager->get_tag_data_content()
#3 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/dynamic-tags/manager.php(109): call_user_func_array()
#4 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/dynamic-tags/manager.php(70): Elementor\Core\DynamicTags\Manager->parse_tag_text()
#5 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/controls/base-data.php(91): Elementor\Core\DynamicTags\Manager->parse_tags_text()
#6 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/controls-stack.php(1329): Elementor\Base_Data_Control->parse_tags()
#7 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/controls-stack.php(1176): Elementor\Controls_Stack->parse_dynamic_settings()
#8 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/post.php(298): Elementor\Controls_Stack->get_parsed_dynamic_settings()
#9 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php(36): Elementor\Core\Files\CSS\Post->render_styles()
#10 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/dynamic-tags/dynamic-css.php(40): Elementor\Core\DynamicTags\Dynamic_CSS->render_styles()
#11 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/post.php(178): Elementor\Core\DynamicTags\Dynamic_CSS->render_styles()
#12 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/base.php(680): Elementor\Core\Files\CSS\Post->render_css()
#13 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content()
#14 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/base.php(131): Elementor\Core\Files\Base->update_file()
#15 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/base.php(227): Elementor\Core\Files\CSS\Base->update()
#16 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue()
#17 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/dynamic-tags/manager.php(488): Elementor\Core\Files\CSS\Post->enqueue()
#18 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/class-wp-hook.php(324): Elementor\Core\DynamicTags\Manager->after_enqueue_post_css()
#19 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#20 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#21 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/base.php(274): do_action()
#22 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue()
#23 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/frontend.php(1134): Elementor\Core\Files\CSS\Post->enqueue()
#24 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/jet-tabs/includes/addons/jet-accordion-widget.php(1071): Elementor\Frontend->get_builder_content()
#25 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): Elementor\Jet_Accordion_Widget->render()
#26 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode()
#27 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content()
#28 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content()
#29 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/element-base.php(1422): Elementor\Element_Base->print_element()
#30 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content()
#31 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/element-base.php(1422): Elementor\Element_Base->print_element()
#32 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content()
#33 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/element-base.php(1422): Elementor\Element_Base->print_element()
#34 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content()
#35 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element()
#36 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements()
#37 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements()
#38 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/frontend.php(1158): Elementor\Core\Base\Document->print_elements_with_wrapper()
#39 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-content/plugins/elementor/includes/frontend.php(1053): Elementor\Frontend->get_builder_content()
#40 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content()
#41 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#42 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1871): apply_filters()
#43 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(958): WP_REST_Posts_Controller->prepare_item_for_response()
#44 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->update_item()
#45 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#46 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#47 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#48 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/class-wp-hook.php(324): rest_api_loaded()
#49 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#50 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/plugin.php(565): WP_Hook->do_action()
#51 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/class-wp.php(418): do_action_ref_array()
#52 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/class-wp.php(813): WP->parse_request()
#53 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-includes/functions.php(1336): WP->main()
#54 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/wp-blog-header.php(16): wp()
#55 /var/www/vhosts/eltallerdeverdes.com/003.eltallerdeverdes.com/index.php(17): require(‘…’)
#56 {main}
Good afternoon,
Same problem here with the same error.
Wordpress : 6.6.1
Elementor Pro : version 3.23.4
ACF Pro : version 6.3.5
Broadcast : 50.13
Broadcast ThirdParty : 50.11
We have created a unique template for a post category.
We have created a group of fields in ACF, including a gallery field
When we have tested to broadcast the post trough the multisite, we had the same error as you.
After some research, we have found that we must change, at the gallery field, the image return to ID, change it again to URL, to finally return to the value Array.
And after that, the gallery was displayed without error.
I think there is a bug somewhere between Elementor and ACF.
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.