PHP Fatal error: Call to undefined method WP_Error::has_errors()

TLDR: SSH onto your wordpress host cd to the wp-includes directory open a text editor (I used vim) copy and paste the has_errors function code (see below for code snippet) save the file exit Boring details and thought… Read More