1

Fatal error: Call to undefined method WP_Screen::is_block_editor() in D:\Hosting\11505129\html\wp-admin\admin-header.php on line 178

I am getting this error after updating my WordPress, can't login to admin.

1
  • Do you have access to your web hosting / control panel? If so, maybe you could restore a backup or try my solution below Jan 9, 2019 at 6:17

3 Answers 3

1

Corrupted files

If this happened during/after an update, the update may have not completed correctly. Try a manual update: https://codex.wordpress.org/Upgrading_WordPress#Manual_Update

wp-config.php

Your wp-config.php file might be empty for some reason. See: https://codex.wordpress.org/Editing_wp-config.php

4
  • it is still not fixing the issue. I also tried to rename the plugins folder and the active theme folder. Any other suggestion? Apr 18, 2019 at 18:13
  • @SantoshAchari Okay, Did you try downloading WordPress and uploading it over your existing installation? Apr 19, 2019 at 7:19
  • -I did. It did not work. May 9, 2019 at 11:29
  • 1
    @SantoshAchari Than I do not know. You could also contact your hosting provider. May 11, 2019 at 6:58
0

If this happened during/after an update, the update might not have completed correctly. Try a manual update: https://codex.wordpress.org/Upgrading_WordPress#Manual_Update

0

try manual wordpress update: https://codex.wordpress.org/Upgrading_WordPress#Manual_Update manual updating fixes your problem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.