Compatibility issue with WordPress 6.7.1
-
Hello,
I know this plugin didn’t had much upgrade going on since a while, is it considered as dead and not updated anymore ? We really like it and make great use of it since a couple of years now.
During our standard upgrade routine of WordPress, we face an issue with the latest 6.7.1 version of WordPress. The month widget is displaying fine, however when clicking an event, we receive a critical error message.
The error reported is
Une erreur de type E_ERROR a été causée dans la ligne 20 du fichier /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-content/plugins/the-holiday-calendar/clients/api-client.class.php. Message d’erreur : Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-content/plugins/the-holiday-calendar/clients/api-client.class.php:20
Stack trace:
#0 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-content/plugins/the-holiday-calendar/clients/api-client.class.php(10): thc_api_client::convert_json_to_plugin_countries('...')
#1 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-content/plugins/the-holiday-calendar/admin/widget-form.class.php(12): thc_api_client::get_available_countries()
#2 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-content/plugins/the-holiday-calendar/the-holiday-calendar.php(329): thc_widget_form::render_form(Array, Object(the_holiday_calendar))
#3 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-includes/class-wp-widget.php(535): the_holiday_calendar->form(Array)
#4 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-admin/includes/widgets.php(276): WP_Widget->form_callback(Array)
#5 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-includes/class-wp-customize-widgets.php(1166): wp_widget_control(Array, Array)
#6 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-includes/class-wp-customize-widgets.php(1114): WP_Customize_Widgets->get_widget_control(Array)
#7 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-includes/class-wp-customize-widgets.php(714): WP_Customize_Widgets->get_available_widgets()
#8 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-includes/class-wp-hook.php(324): WP_Customize_Widgets->enqueue_scripts('')
#9 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#10 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home/httpd/vhosts/{siteURL}/httpsdocs/version2/wp-admin/customize.php(127): do_action('customize_contr...')Full version log is
WordPress version 6.7.1
Thème actif?: Organic Adventure (version 2.5.6)
Extension actuelle?: The Holiday Calendar (version 1.18.2)
PHP version 8.2.27
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.