Fatal Error after updating to 4.0
-
I have updated to WordPress 4.0, and now when I try to go to /wp-admin to log in I get a blank page. I turned on debug mode and have been receiving this error message:
Fatal error: Cannot redeclare image_constrain_size_for_editor() in blahblahblah/wp-admin/includes/media.php on line 36
Line 36 is:
function image_constrain_size_for_editor($width = '128', $height = '96', $size = 'medium', $context = null ) {
I have tried downloading and manually updating the media.php file in case there was a bug, but to no avail. Anyone know what has happened and what to do about it?Edit: The site still looks fine to the public, and I can login at /wp-login.php, but this redirects to /wp-admin and the same blank page. Any page I go to that starts with /wp-admin/… shows the same error message.
- The topic ‘Fatal Error after updating to 4.0’ is closed to new replies.