admin管理员组

文章数量:1290976

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.

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.

Share Improve this question edited Jan 9, 2019 at 3:38 Highly Irregular 2134 silver badges10 bronze badges asked Jan 9, 2019 at 2:17 user3584410user3584410 112 bronze badges 1
  • 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 Commented Jan 9, 2019 at 6:17
Add a comment  | 

3 Answers 3

Reset to default 1

Corrupted files

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

wp-config.php

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

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

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

本文标签: Fatal error after updating to WordPress 5