https://blog.lanluo.cn/4826 查阅相关资料后得知,php7不支持mysql_escape_string 这个函数,修复方式也简单,降低PHP版本即可。 将PHP7.1降为5.6,网站恢复。 亦可以通过升级DZ来解决此问题! 本文固定链接: https://www.fengshen.cn/2022/01/discuz-报错-call-to-undefined-function-mysql_escape_string/storyofwind/ 转载请注明: fengshen 发表于 Dream of Wind | 一梦风神 觉得文章有用,微信打赏一元。