部署一个以前写的一个插件 以为用现在的版本也没问题
结果突然500了
Return value of Widget\Base\Contents::filter() must be of the type array, null returned
类似返回数据表为空的500
解决:
一:用rm -rf清除缓存/编译文件失败
二:临时/禁用插件排查冲突失败
三:在文件Contents.php
添加强制返回空数组失败
最终还是选择恢复备份
还好也没被你们发现
以后在不能再直接拿主站试用了
不过这次也删了好多臃肿无用的代码🖥️
使用的接口问题,可以问deepseek取消接口。