Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/calendar/class-calendar-event-structure.php:61 Stack trace: #0 /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/calendar/class-calendar-event-structure.php(61): in_array('eventyear', false) #1 /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/calendar/class-calendar-event-structure.php(483): EVO_Cal_Event_Structure->get_eventtop_item_html('day_block', Object(stdClass), Array) #2 /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/calendar/class-calendar_generator.php(1938): EVO_Cal_Event_Structure->get_event_top(Array, Array) #3 /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/calendar/class-calendar_generator.php(461): EVO_generator->generate_event_data(Array) #4 /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/calendar/class-calendar_generator.php(581): EVO_generator->_generate_events('html') #5 /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/class-evo-shortcodes.php(76): EVO_generator->generate_events_list(Array) #6 /usr/home/cqpproduccions.com/web/wp-includes/shortcodes.php(356): EVO_Shortcodes->events_list(Array, '', 'add_eventon_lis...') #7 [internal function]: do_shortcode_tag(Array) #8 /usr/home/cqpproduccions.com/web/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(add_ev...', 'do_shortcode_ta...', '[add_eventon_li...') #9 /usr/home/cqpproduccions.com/web/wp-includes/class-wp-hook.php(307): do_shortcode('[add_eventon_li...') #10 /usr/home/cqpproduccions.com/web/wp-includes/plugin.php(191): WP_Hook->apply_filters('[add_eventon_li...', Array) #11 /usr/home/cqpproduccions.com/web/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-wysiwyg.php(424): apply_filters('acf_the_content', '[add_eventon_li...') #12 /usr/home/cqpproduccions.com/web/wp-includes/class-wp-hook.php(307): acf_field_wysiwyg->format_value('[add_eventon_li...', 282, Array) #13 /usr/home/cqpproduccions.com/web/wp-includes/plugin.php(235): WP_Hook->apply_filters('[add_eventon_li...', Array) #14 /usr/home/cqpproduccions.com/web/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php(109): apply_filters_ref_array('acf/format_valu...', Array) #15 /usr/home/cqpproduccions.com/web/wp-includes/class-wp-hook.php(307): _acf_apply_hook_variations('[add_eventon_li...', 282, Array) #16 /usr/home/cqpproduccions.com/web/wp-includes/plugin.php(191): WP_Hook->apply_filters('[add_eventon_li...', Array) #17 /usr/home/cqpproduccions.com/web/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php(172): apply_filters('acf/format_valu...', '[add_eventon_li...', 282, Array) #18 /usr/home/cqpproduccions.com/web/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-group.php(147): acf_format_value('[add_eventon_li...', 282, Array) #19 /usr/home/cqpproduccions.com/web/wp-includes/class-wp-hook.php(307): acf_field__group->format_value(Array, 282, Array) #20 /usr/home/cqpproduccions.com/web/wp-includes/plugin.php(235): WP_Hook->apply_filters(Array, Array) #21 /usr/home/cqpproduccions.com/web/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php(109): apply_filters_ref_array('acf/format_valu...', Array) #22 /usr/home/cqpproduccions.com/web/wp-includes/class-wp-hook.php(307): _acf_apply_hook_variations(Array, 282, Array) #23 /usr/home/cqpproduccions.com/web/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array) #24 /usr/home/cqpproduccions.com/web/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php(172): apply_filters('acf/format_valu...', Array, 282, Array) #25 /usr/home/cqpproduccions.com/web/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-template.php(51): acf_format_value(Array, 282, Array) #26 /usr/home/cqpproduccions.com/web/wp-content/themes/campi/template-parts/content-inici.php(14): get_field('agenda') #27 /usr/home/cqpproduccions.com/web/wp-includes/template.php(772): require('/usr/home/cqppr...') #28 /usr/home/cqpproduccions.com/web/wp-includes/template.php(716): load_template('/usr/home/cqppr...', false, Array) #29 /usr/home/cqpproduccions.com/web/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #30 /usr/home/cqpproduccions.com/web/wp-content/themes/campi/template/Inici.php(18): get_template_part('template-parts/...', 'inici') #31 /usr/home/cqpproduccions.com/web/wp-includes/template-loader.php(106): include('/usr/home/cqppr...') #32 /usr/home/cqpproduccions.com/web/wp-blog-header.php(19): require_once('/usr/home/cqppr...') #33 /usr/home/cqpproduccions.com/web/index.php(17): require('/usr/home/cqppr...') #34 {main} thrown in /usr/home/cqpproduccions.com/web/wp-content/plugins/eventON/includes/calendar/class-calendar-event-structure.php on line 61