• Resolved distinct

    (@distinct)


    The function list_stats_dashboard_widget in file yikes-inc-easy-mailchimp-extender\admin\partials\dashboard-widgets\class.list-activity-widget.php has a bug. When it encounters a wp_error, it tries to write $list_data[‘error’] to the log. But this is incorrect. $list_data->get_error_code() or $list_data->get_error_message() is the way to fix it. Otherwise the dashboard will crash with 500 error: “Uncaught Error: Cannot use object of type WP_Error as array”

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Dashboard bug’ is closed to new replies.