[英]Fatal error: Call to undefined function apply_filters() in /public_html/wp-includes/load.php on line 317
I tried to update my wordpress installation using auto update feature.我尝试使用自动更新功能更新我的 wordpress 安装。 After update the entire site is down.更新后整个网站都关闭了。 Checking the log file I have this error:检查日志文件我有这个错误:
Fatal error: Call to undefined function apply_filters() in /public_html/wp-includes/load.php on line 317
I found this github issue.我发现了这个 github 问题。 But they refer to solving the issue for installation that uses wp-cli
.但他们指的是解决使用wp-cli
安装问题。 Any help would be appreciated.任何帮助,将不胜感激。
https://github.com/wp-cli/wp-cli/issues/2953 https://github.com/wp-cli/wp-cli/issues/2953
This problem was caused by the wp-settings.php
.这个问题是由wp-settings.php
引起的。 Due to permissions trouble this file was not updated while using auto-update.由于权限问题,此文件在使用自动更新时未更新。 Replacing this file with the latest wp-settings.php
solved the trouble.用最新的wp-settings.php
替换这个文件解决了这个问题。
i just add and use this line to my plugin file我只是在我的插件文件中添加并使用这一行
require_once( dirname( FILE ) . '/../../../../wp-includes/plugin.php'); require_once( dirname( FILE ) . '/../../../../wp-includes/plugin.php');
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.