Fatal error: Call to undefined method WP_Error::has_errors() in /home/eb001ged/www/home/proh/wp-admin/includes/file.php on line 1504