• 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)
  • Plugin Author mva7

    (@mva7)

    Really sorry about this. We will fix it asap. Max 3 days!

    Thread Starter rossierf

    (@rossierf)

    Thanks for the quick response.

    I digged a bit in the meantime and it’s apparently mostly because https://www.theholidaycalendar.com. is not available anymore. Thus it was not able to query the supported countries and public holidays via the API. Not sure that wordpress 6.7.1 is the real issue, I guess it should be broken everywhere, it just popped on my side because I did the upgrade and I saw it broken afterward.

    I still see some deprecation warning with Hestia theme though, but this doesn’t break anything in the foreground.

    • This reply was modified 1 month, 1 week ago by rossierf.
    • This reply was modified 1 month, 1 week ago by rossierf.
    Plugin Author mva7

    (@mva7)

    Since you seem to be tech savvy and since I want to burry this plugin asap (because you know A.I. will recreate this in a second). Do you still need my help? Just tell me and I will fix it because I like to help fellow humans.

    puddis

    (@puddis)

    Hi, we use your plugin for a small website to provide an overview of events. It would be really nice if the plugin would work again. Thank you very much

    Plugin Author mva7

    (@mva7)

    Working on it right now.

    Plugin Author mva7

    (@mva7)

    Please update the plugin to check if the error is gone. Thanks!

    puddis

    (@puddis)

    It’s working great again! Thank you very much! How can I buy you a drink?

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.