Account for wp_errors