• Resolved John

    (@dsl225)


    Hello,

    I’m not sure whether this is related to the previous post but I just notice it and it was working fine just 1-2 weeks ago. When activating it, widgets disappear and I get this error:

    PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Error as array in //wp-content/plugins/the-holiday-calendar/clients/api-client.class.php:10
    Stack trace:
    #0 //wp-content/plugins/the-holiday-calendar/admin/widget-form.class.php(12): thc_api_client::get_available_countries()
    #1 //wp-content/plugins/the-holiday-calendar/the-holiday-calendar.php(329): thc_widget_form::render_form(Array, Object(the_holiday_calendar))
    #2 //wp-includes/class-wp-widget.php(519): the_holiday_calendar->form(Array)
    #3 //wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array)
    #4 //wp-admin/includes/widgets.php(60): wp_widget_control(Array, Array)
    #5 //wp-admin/widgets.php(452): wp_list_widgets()
    #6 {main}
      thrown in //wp-content/plugins/the-holiday-calendar/clients/api-client.class.php on line 10

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mva7

    (@mva7)

    Hi,

    thanks for your report. We will investigate it right now.

    Regards,

    Mva7

    Plugin Author mva7

    (@mva7)

    Hi,

    is this error still occurring?

    Can’t reproduce it on our side.

    Thanks!

    Regards,

    Mva7

    Thread Starter John

    (@dsl225)

    Thanks for your feedback.

    It seems as this has vanished by itself and things got back to normal without any other intervention from my side.

    Maybe a temporary conflict.

    I’ll mark this a resolved and will get back if it happens again at this site.

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP fatal error’ is closed to new replies.