is is_wp_error on checking get_category