admin管理员组文章数量:1391993
I was working on the WP admin about an hour ago, all good. I was able to browse to difference pages. I didn't log off. Now, when I try to go to the /wp-admin/ page I get blank white. I navigate to the log files and this is whats on the bottom lines.
[16-Mar-2020 15:20:30 America/Boise] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home3/tcokchal/public_html/launch/index.php:18 Stack trace: # 0 {main} thrown in /home3/tcokchal/public_html/launch/index.php on line 18
I was working on the WP admin about an hour ago, all good. I was able to browse to difference pages. I didn't log off. Now, when I try to go to the /wp-admin/ page I get blank white. I navigate to the log files and this is whats on the bottom lines.
Share Improve this question edited Mar 17, 2020 at 13:20 Chetan Vaghela 2,4084 gold badges10 silver badges16 bronze badges asked Mar 16, 2020 at 21:30 Peter FriedlanderPeter Friedlander 32 bronze badges 1[16-Mar-2020 15:20:30 America/Boise] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home3/tcokchal/public_html/launch/index.php:18 Stack trace: # 0 {main} thrown in /home3/tcokchal/public_html/launch/index.php on line 18
- You say you were working, but what exactly were you doing? get_header is an essential part of themes so I guess you were modifying a template? Perhaps try and restore that. – TomC Commented Mar 17, 2020 at 13:28
1 Answer
Reset to default 0It sounds like you are missing a file from the WP 'core'.
Make a backup copy of your wp-settings.php file, then upload a freshly-downloaded copy of WordPress. Don't upload the wp-settings.php file - that contains your database configuration.
Your plugins and themes will still be there, as will your database.
本文标签: errorsWordPress Admin Doesnt work
版权声明:本文标题:errors - WordPress Admin Doesnt work 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744662696a2618340.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论