You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WordPress多站点插件激活报错:插件文件不存在及致命错误排查

WordPress多站点插件激活故障排查求助

问题现象

  • 删除所有插件和主题后,出现警告:The plugin 0 has been deactivated due to an error: Plugin file does not exist.
  • 重新上传干净的最新版插件和主题后,尝试网络激活任意插件均触发相同提示的致命错误

debug.log日志信息

[28-Aug-2024 16:48:21 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {"schedule":"every_minute","args":["WP Cron"],"interval":60}
[28-Aug-2024 17:28:51 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-admin/includes/plugin.php:708
Stack trace:
#0 /var/www/html/wp-admin/plugins.php(60): activate_plugin()
#1 /var/www/html/wp-admin/network/plugins.php(13): require('...')
#2 {main}
  thrown in /var/www/html/wp-admin/includes/plugin.php on line 708

已执行的排查操作

  • 上传除wp-content和wp-config.php外的干净WordPress核心文件
  • 检查并清空各站点active_plugins表及active_sitewide_plugins表的meta_value字段
  • 上述操作后问题仍未解决,无法定位故障根源

内容的提问来源于stack exchange,提问作者Jonathan Kleemann

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.19 05:08:16