您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

安装wordpress后,提示的源码错误

2024/7/19 7:45:07发布23次查看
刚刚把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. }
提示的就是return这一行的request_filesystem_credentials($url, '', $error, $context)函数未定义,在文件里也没有找到这个函数,不过和它重名参数不同的函数有几个,百度了一下,不是说php不支持重载吗?不懂php,不知道怎么处理,哪位大神懂吗?
回复讨论(解决方案) 看看 wp-admin/includes/file.php 这个文件在不在
看看 wp-admin/includes/file.php 这个文件在不在

看看 wp-admin/includes/file.php 这个文件在不在
已经解决了,貌似是上传的时候出现了问题,重新上传好了
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product