简体   繁体   中英

Fatal Error on Wordpress: Call to undefined function wp() in wp-blog-header.php

I updated Wordpress to 4.2 this morning, and now I can't access my Wordpress site, gteam.org.

I've searched the Wordpress help forum, but to no avail.

Thoughts or help:

Fatal error: Call to undefined function wp() in /home/team1874/public_html/wp-blog-header.php on line 14

我遇到了同样的错误,问题是我的 wp-config.php 文件不知何故是空的,只是复制了示例 wp-config 并添加了我的配置,然后它又工作了。

I met the same problem this morning when trying to install wordpress v4.9.4 . The most likely reason is that the file which declared function wp() is somehow damaged. I solved it reload a new package and installed.

references: https://wordpress.org/support/topic-tag/fatal-error-call-to-undefined-function-wp/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM