Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /home/persoonaschool/www/wp-content/themes/divi-child/functions.php:184
Stack trace:
#0 /home/persoonaschool/www/wp-includes/shortcodes.php(434): get_course_quantity_bonus_modules(Array, '', 'call_course_qua...')
#1 [internal function]: do_shortcode_tag(Array)
#2 /home/persoonaschool/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(call_c...', 'do_shortcode_ta...', '[call_course_qu...')
#3 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3012): do_shortcode('[call_course_qu...')
#4 /home/persoonaschool/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[call_course_qu...', 'et_pb_text')
#5 [internal function]: do_shortcode_tag(Array)
#6 /home/persoonaschool/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(call_c...', 'do_shortcode_ta...', '[et_pb_text _bu...')
#7 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/main-structure-elements.php(3784): do_shortcode('[et_pb_text _bu...')
#8 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3331): ET_Builder_Column->render(Array, '[et_pb_text _bu...', 'et_pb_column', '', '', '', '', '')
#9 /home/persoonaschool/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_text _bu...', 'et_pb_column')
#10 [internal function]: do_shortcode_tag(Array)
#11 /home/persoonaschool/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(call_c...', 'do_shortcode_ta...', '[et_pb_column t...')
#12 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/main-structure-elements.php(2274): do_shortcode('[et_pb_column t...')
#13 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3331): ET_Builder_Row->render(Array, '[et_pb_column t...', 'et_pb_row', '', '', '', '', '')
#14 /home/persoonaschool/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_column t...', 'et_pb_row')
#15 [internal function]: do_shortcode_tag(Array)
#16 /home/persoonaschool/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(call_c...', 'do_shortcode_ta...', '[et_pb_row _bui...')
#17 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/main-structure-elements.php(1606): do_shortcode('[et_pb_row _bui...')
#18 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(3331): ET_Builder_Section->render(Array, '[et_pb_row _bui...', 'et_pb_section', '', '', '', '', '')
#19 /home/persoonaschool/www/wp-includes/shortcodes.php(434): ET_Builder_Element->_render(Array, '[et_pb_row _bui...', 'et_pb_section')
#20 [internal function]: do_shortcode_tag(Array)
#21 /home/persoonaschool/www/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(acf|ca...', 'do_shortcode_ta...', '<div class="et-...')
#22 /home/persoonaschool/www/wp-includes/class-wp-hook.php(324): do_shortcode('<div class="et-...')
#23 /home/persoonaschool/www/wp-includes/plugin.php(205): WP_Hook->apply_filters('<div class="et-...', Array)
#24 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/core.php(26): apply_filters('et_builder_rend...', '[et_pb_section ...')
#25 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(347): et_builder_render_layout('[et_pb_section ...')
#26 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(506): et_theme_builder_frontend_render_layout('et_body_layout', 4793)
#27 /home/persoonaschool/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-body-template.php(7): et_theme_builder_frontend_render_body(4793, true, 4800)
#28 /home/persoonaschool/www/wp-includes/template-loader.php(106): include('/home/persoonas...')
#29 /home/persoonaschool/www/wp-blog-header.php(19): require_once('/home/persoonas...')
#30 /home/persoonaschool/www/index.php(17): require('/home/persoonas...')
#31 {main}
thrown in /home/persoonaschool/www/wp-content/themes/divi-child/functions.php on line 184