Home >Backend Development >PHP Tutorial >安装wordpress后,提示的源码异常

安装wordpress后,提示的源码异常

WBOY
WBOYOriginal
2016-06-13 12:11:091148browse

安装wordpress后,提示的源码错误
刚刚把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) {<br />		$url = $this->options['url'];<br />		$context = $this->options['context'];<br />		if ( !empty($this->options['nonce']) )<br />			$url = wp_nonce_url($url, $this->options['nonce']);<br />		return request_filesystem_credentials($url, '', $error, $context); //Possible to bring inline, Leaving as is for now.<br />	}<br />

提示的就是return这一行的request_filesystem_credentials($url, '', $error, $context)函数未定义,在文件里也没有找到这个函数,不过和它重名参数不同的函数有几个,百度了一下,不是说php不支持重载吗?不懂php,不知道怎么处理,哪位大神懂吗?
------解决思路----------------------
看看 wp-admin/includes/file.php 这个文件在不在

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn