为了可以及时发现WordPress网站错误问题,我们一般会打开WordPress调试模式,这样如果网站发生错误,查看其错误日志便可快速分析出错原因并针对性地解决。一旦我们准备修复网站出现的错误问题,建议先禁用WordPress调试模式,以防止在修复错误时网站速度变慢。下面一起来了解下WordPress调试模式怎么禁用。
小编在之前的文章中介绍了如何打开WordPress调试模式,一是用插件,二是修改wp-config配置文件的代码。详情可参考阅读:《打开WordPress调试模式的两种常用方法》
①如果使用的是WP Debugging插件启用了WordPress调试模式,现在我们要禁用该模式的话,只需导航到Plugins,选择Installed Plugins已安装的插件,在右侧找到WP Debugging插件,点击Deactivate以停用该插件,如下图所示:
②如果使用的是代码方式启用的WordPress调试模式,我们可打开wp-config配置文件,然后将WP_DEBUG和WP_DEBUG_LOG属性值修改为“false”并保存归档以禁用调试模式。
最新评论
Hey! I could have sworn I've been to this blog before but after checking through some of the post I realized it's new to me. Anyways, I'm definitely delighted I found it and I'll be book-marking and checking back often!
Heya i am for the primary time here. I came across this board and I to find It really helpful & it helped me out much. I'm hoping to give something back and help others like you helped me.
Pretty element of content. I simply stumbled upon your website and in accession capital to claim that I acquire in fact enjoyed account your weblog posts. Any way I’ll be subscribing for your augment and even I success you access persistently rapidly.
Would love to perpetually get updated outstanding weblog! .
Some really nice stuff on this internet site, I like it.
Can I simply say what a reduction to find somebody who actually knows what theyre talking about on the internet. You positively know find out how to carry an issue to mild and make it important. Extra individuals have to read this and understand this facet of the story. I cant believe youre not more fashionable because you positively have the gift.
I like this post, enjoyed this one appreciate it for posting.
Definitely, what a splendid blog and enlightening posts, I surely will bookmark your site.Best Regards!