Erreur

Exception : count(): Argument #1 ($value) must be of type Countable|array, null given
Debug info:
Error code: generalexceptionmessage
Stack trace:
  • line 69 of /blocks/cocoon_slider_1_v/block_cocoon_slider_1_v.php: TypeError thrown
  • line 337 of /blocks/moodleblock.class.php: call to block_cocoon_slider_1_v->get_content()
  • line 231 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
  • line 1222 of /lib/blocklib.php: call to block_base->get_content_for_output()
  • line 1280 of /lib/blocklib.php: call to block_manager->create_block_contents()
  • line 377 of /lib/blocklib.php: call to block_manager->ensure_content_created()
  • line 4089 of /lib/outputrenderers.php: call to block_manager->region_has_content()
  • line 262 of /theme/edumy/ccn/ccn_themehandler.php: call to core_renderer->blocks()
  • line 3 of /theme/edumy/layout/ccn_incourse.php: call to include()
  • line 1477 of /lib/outputrenderers.php: call to include()
  • line 1403 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 80 of /mod/page/view.php: call to core_renderer->header()