插件无法初始化,该怎么解决

讨论程序使用中的问题
回复
红桃K
帖子: 2
注册时间: 2022年 6月 8日 15:31

插件无法初始化,该怎么解决

帖子 红桃K »

安装插件后启用,在点击进去就提示以下错误:

代码: 全选

Warning: require_once(/www/wwwroot/www.f4.ee/usr/plugins/RobotsPlus../RobotsPlus/Logs.php): failed to open stream: No such file or directory in /www/wwwroot/www.f4.ee/admin/extending.php on line 12

Fatal error: require_once(): Failed opening required '/www/wwwroot/www.f4.ee/usr/plugins/RobotsPlus../RobotsPlus/Logs.php' (include_path='.:/www/server/php/72/lib/php') in /www/wwwroot/www.f4.ee/admin/extending.php on line 12

装了三个插件:蜘蛛日志;推送AMP/MIP百度;百度结构化日志

这是错误文件的代码:

代码: 全选

require_once $options->pluginDir($pluginName) . '/' . $panel;
请问怎么解决呢,谢谢!!!! :D
红桃K
帖子: 2
注册时间: 2022年 6月 8日 15:31

Re: 插件无法初始化,该怎么解决

帖子 红桃K »

自行解决。删除变量

解决方案:

代码: 全选

require_once $options->pluginDir() . '/' . $panel;
回复