advanced-custom-fields-pro
advanced-custom-fields-pro copied to clipboard
[6.3.12] Fatal error with Woocommerce 9.7.1
[20-Mar-2025 14:36:02 UTC] PHP Fatal error: Uncaught Error: Object of class WP_Block_Template could not be converted to string in /www/wp-includes/formatting.php:1096 Stack trace: #0 /www/wp-includes/formatting.php(4655): wp_check_invalid_utf8(Object(WP_Block_Template)) #1 /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-input-functions.php(451): esc_html(Object(WP_Block_Template)) #2 /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-input-functions.php(436): acf_walk_select_input(Array, Array, 1) #3 /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-input-functions.php(402): acf_walk_select_input(Array, Array) #4 /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-input-functions.php(382): acf_get_select_input(Array) #5 /www/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-select.php(316): acf_select_input(Array) #6 /www/wp-includes/class-wp-hook.php(324): acf_field_select->render_field(Array) #7 /www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #8 /www/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #9 /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php(113): do_action_ref_array('acf/render_fiel...', Array) #10 /www/wp-includes/class-wp-hook.php(324): _acf_apply_hook_variations(Array) #11 /www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #12 /www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php(807): do_action('acf/render_fiel...', Array) #14 /www/wp-content/plugins/advanced-custom-fields-pro/includes/admin/views/acf-field-group/location-rule.php(65): acf_render_field(Array) #15 /www/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php(350): include('/home/vuprrgt/a...') #16 /www/wp-content/plugins/advanced-custom-fields-pro/includes/admin/views/acf-field-group/location-group.php(18): acf_get_view('/home/vuprrgt/a...', Array) #17 /www/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php(350): include('/home/vuprrgt/a...') #18 /www/wp-content/plugins/advanced-custom-fields-pro/includes/admin/views/acf-field-group/locations.php(25): acf_get_view('/home/vuprrgt/a...', Array) #19 /www/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php(350): include('/home/vuprrgt/a...') #20 /www/wp-content/plugins/advanced-custom-fields-pro/includes/admin/views/acf-field-group/options.php(74): acf_get_view('/home/vuprrgt/a...') #21 /www/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php(350): include('/home/vuprrgt/a...') #22 /www/wp-content/plugins/advanced-custom-fields-pro/includes/admin/post-types/admin-field-group.php(435): acf_get_view('/home/vuprrgt/a...') #23 /www/wp-admin/includes/template.php(1456): acf_admin_field_group->mb_options(Object(WP_Post), Array) #24 /www/wp-admin/edit-form-advanced.php(722): do_meta_boxes(Object(WP_Screen), 'normal', Object(WP_Post)) #25 /www/wp-admin/post.php(206): require('xxxxxxxx/a...') #26 {main} thrown in /www/wp-includes/formatting.php on line 1096
Hi @uniweb31,
Please update to the newest version (v6.4.0.1) and check if the error still persists.
Thanks
Hi @uniweb31,
I've closed this issue since it didn't have enough information.
For future reference, please follow the newly added template for bug reports/issues. Otherwise, it's hard to help.
Thanks!