刚刚把wordpress4.01上传到主机,打开域名,出现这么一句话:
Fatal error: Call to undefined function request_filesystem_credentials() in /data/home/htdocs/wp-admin/includes/class-wp-upgrader-skins.php on line 47
找到源码如下
public function request_filesystem_credentials($error = false) { $url = $this->options['url']; $context = $this->options['context']; if ( !empty($this->options['nonce']) ) $url = wp_nonce_url($url, $this->options['nonce']); return request_filesystem_credentials($url, '', $error, $context); //Possible to bring inline, Leaving as is for now. }
看看 wp-admin/includes/file.php 这个文件在不在
看看 wp-admin/includes/file.php 这个文件在不在
在
看看 wp-admin/includes/file.php 这个文件在不在
已经解决了,貌似是上传的时候出现了问题,重新上传好了