Support

Account

Home Forums Front-end Issues ACF’s checkbox module doesn’t work with Divi.

Unread

ACF’s checkbox module doesn’t work with Divi.

  • Hello !
    I’m using ACF dynamic fields to display content on my product pages. I need to use the ‘Checkbox’ module to insert checkboxes on my pages. The problem is that when I generate these checkboxes and check them in the backend so they’re also checked on the frontend, my site stops displaying anything and shows me this error

    “Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/plugin-compat/advanced-custom-fields.php:269 Stack trace: #0 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/plugin-compat/advanced-custom-fields.php(98): ET_Builder_Plugin_Compat_Advanced_Custom_Fields->format_field_value(Array, Array) #1 /Applications/MAMP/site/NordSudCaravaning/wp-includes/class-wp-hook.php(324): ET_Builder_Plugin_Compat_Advanced_Custom_Fields->maybe_filter_dynamic_content_meta_value(Array, ‘case_test’, 1127) #2 /Applications/MAMP/site/NordSudCaravaning/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/feature/dynamic-content.php(1734): apply_filters(‘et_builder_dyna…’, Array, ‘case_test’, 1127) #4 /Applications/MAMP/site/NordSudCaravaning/wp-includes/class-wp-hook.php(324): et_builder_filter_resolve_custom_field_dynamic_content(Array, ‘custom_meta_cas…’, Array, 1127, ‘display’, Array) #5 /Applications/MAMP/site/NordSudCaravaning/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array) #6 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/feature/dynamic-content.php(935): apply_filters(‘et_builder_reso…’, ”, ‘custom_meta_cas…’, Array, 1127, ‘display’, Array) #7 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/class-et-builder-value.php(93): et_builder_resolve_dynamic_content(‘custom_meta_cas…’, Array, 1127, ‘display’) #8 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(21802): ET_Builder_Value->resolve(1127) #9 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3077): ET_Builder_Element->_resolve_value(1127, ‘content’, ‘@ET-DC@eyJkeW5h…’, Array, NULL) #10 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(433): ET_Builder_Element->_render(Array, ‘@ET-DC@eyJkeW5h…’, ‘et_pb_text’) #11 [internal function]: do_shortcode_tag(Array) #12 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘[et_pb_text _bu…’) #13 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode(‘[et_pb_text _bu…’) #14 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3433): ET_Builder_Column->render(Array, ‘[et_pb_text _bu…’, ‘et_pb_column’, ”, ”, ”, ”, ”) #15 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(433): ET_Builder_Element->_render(Array, ‘[et_pb_text _bu…’, ‘et_pb_column’) #16 [internal function]: do_shortcode_tag(Array) #17 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘[et_pb_column _…’) #18 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode(‘[et_pb_column _…’) #19 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3433): ET_Builder_Row->render(Array, ‘[et_pb_column _…’, ‘et_pb_row’, ”, ”, ”, ”, ”) #20 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(433): ET_Builder_Element->_render(Array, ‘[et_pb_column _…’, ‘et_pb_row’) #21 [internal function]: do_shortcode_tag(Array) #22 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘[et_pb_row colu…’) #23 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode(‘[et_pb_row colu…’) #24 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3433): ET_Builder_Section->render(Array, ‘[et_pb_row colu…’, ‘et_pb_section’, ”, ”, ”, ”, ”) #25 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(433): ET_Builder_Element->_render(Array, ‘[et_pb_row colu…’, ‘et_pb_section’) #26 [internal function]: do_shortcode_tag(Array) #27 /Applications/MAMP/site/NordSudCaravaning/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(et_pb_…’, ‘do_shortcode_ta…’, ‘<div class=”et-…’) #28 /Applications/MAMP/site/NordSudCaravaning/wp-includes/class-wp-hook.php(324): do_shortcode(‘<div class=”et-…’) #29 /Applications/MAMP/site/NordSudCaravaning/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<div class=”et-…’, Array) #30 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/core.php(46): apply_filters(‘et_builder_rend…’, ‘[et_pb_section …’) #31 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(347): et_builder_render_layout(‘[et_pb_section …’) #32 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(506): et_theme_builder_frontend_render_layout(‘et_body_layout’, 723) #33 /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-body-template.php(7): et_theme_builder_frontend_render_body(723, true, 731) #34 /Applications/MAMP/site/NordSudCaravaning/wp-includes/template-loader.php(106): include(‘/Applications/M…’) #35 /Applications/MAMP/site/NordSudCaravaning/wp-blog-header.php(19): require_once(‘/Applications/M…’) #36 /Applications/MAMP/site/NordSudCaravaning/index.php(17): require(‘/Applications/M…’) #37 {main} thrown in /Applications/MAMP/site/NordSudCaravaning/wp-content/themes/Divi/includes/builder/plugin-compat/advanced-custom-fields.php on line 269″

    What could be the source of the problem? Is it because of the Divi theme? Because the other ACF modules work fine, the only issue is with the checkboxes. Has anyone experienced this kind of error before?
    Thank you for your responses.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.