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.

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

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

|improve this answer|||||
  • it is still not fixing the issue. I also tried to rename the plugins folder and the active theme folder. Any other suggestion? – Santosh Achari Apr 18 '19 at 18:13
  • @SantoshAchari Okay, Did you try downloading WordPress and uploading it over your existing installation? – Remzi Cavdar Apr 19 '19 at 7:19
  • -I did. It did not work. – Santosh Achari May 9 '19 at 11:29
  • 1
    @SantoshAchari Than I do not know. You could also contact your hosting provider. – Remzi Cavdar May 11 '19 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

|improve this answer|||||
0

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

|improve this answer|||||

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.