Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/.sites/538/site1865/web/wp/wp-content/plugins/the-holiday-calendar/helpers/helper.class.php:142
Stack trace:
#0 /home/.sites/538/site1865/web/wp/wp-content/plugins/the-holiday-calendar/helpers/helper.class.php(104): thc_helper::convert_json_to_plugin_holidays('...')
#1 /home/.sites/538/site1865/web/wp/wp-content/plugins/the-holiday-calendar/gui-elements/gui-builder.class.php(85): thc_helper::add_remote_events(Array, 'us', '4734e601-5c59-4...', NULL, '2024-11-23')
#2 /home/.sites/538/site1865/web/wp/wp-content/plugins/the-holiday-calendar/widgets/widget.class.php(29): thc_gui_builder::build('0', true, 'us', '3', '1', '4734e601-5c59-4...', '0', false)
#3 /home/.sites/538/site1865/web/wp/wp-content/plugins/the-holiday-calendar/the-holiday-calendar.php(341): thc_widget::show(Array, Array)
#4 /home/.sites/538/site1865/web/wp/wp-includes/class-wp-widget.php(394): the_holiday_calendar->widget(Array, Array)
#5 /home/.sites/538/site1865/web/wp/wp-includes/widgets.php(837): WP_Widget->display_callback(Array, Array)
#6 /home/.sites/538/site1865/web/wp/wp-content/themes/sparkling/sidebar.php(5): dynamic_sidebar('sidebar-1')
#7 /home/.sites/538/site1865/web/wp/wp-includes/template.php(810): require_once('/home/.sites/53...')
#8 /home/.sites/538/site1865/web/wp/wp-includes/template.php(745): load_template('/home/.sites/53...', true, Array)
#9 /home/.sites/538/site1865/web/wp/wp-includes/general-template.php(136): locate_template(Array, true, true, Array)
#10 /home/.sites/538/site1865/web/wp/wp-content/themes/sparkling/single.php(38): get_sidebar()
#11 /home/.sites/538/site1865/web/wp/wp-includes/template-loader.php(106): include('/home/.sites/53...')
#12 /home/.sites/538/site1865/web/wp/wp-blog-header.php(19): require_once('/home/.sites/53...')
#13 /home/.sites/538/site1865/web/wp/index.php(17): require('/home/.sites/53...')
#14 {main}
thrown in /home/.sites/538/site1865/web/wp/wp-content/plugins/the-holiday-calendar/helpers/helper.class.php on line 142