PHP fatal error
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP fatal error’ is closed to new replies.