昨天我发现我的博客在回复评论时报错,提示内容是:
Warning: Cannot modify header information – headers already sent by (output started at /home/virtualhost/rleezorg/leez.org/public_html/wp-content/plugins/SK2/sk2_util_class.php:1) in /home/virtualhost/rleezorg/leez.org/public_html/wp-includes/classes.php on line 1586
然后我用普通用户(或游客)发表评论测试了一下,也有报错提示:
Warning: Cannot modify header information – headers already sent by (output started at /home/virtualhost/rleezorg/leez.org/public_html/wp-content/plugins/SK2/sk2_util_class.php:1) in/home/virtualhost/rleezorg/leez.org/public_html/wp-comments-post.php on line 82
Warning: Cannot modify header information – headers already sent by (output started at /home/virtualhost/rleezorg/leez.org/public_html/wp-content/plugins/SK2/sk2_util_class.php:1) in/home/virtualhost/rleezorg/leez.org/public_html/wp-comments-post.php on line 83
Warning: Cannot modify header information – headers already sent by (output started at /home/virtualhost/rleezorg/leez.org/public_html/wp-content/plugins/SK2/sk2_util_class.php:1) in/home/virtualhost/rleezorg/leez.org/public_html/wp-comments-post.php on line 84
Warning: Cannot modify header information – headers already sent by (output started at /home/virtualhost/rleezorg/leez.org/public_html/wp-content/plugins/SK2/sk2_util_class.php:1) in/home/virtualhost/rleezorg/leez.org/public_html/wp-includes/pluggable.php on line865
但两者评论都是成功的,虽然不影响正常的使用,但是给人的感觉很不好,有两位热心的博友迪科和小强给我留言提醒我,说我的博客发表评论有错误。今天早上我才找问题,从表面上看出一定和我的SK2这个反垃圾插件有关系,我没有动过其它的文件。只是从新安装一下SK2问题就解决了,具体怎么会这样我也不清楚,可能这款插件还是有点问题,或是我在使用中有不当的地方,出了问题还是得解决,要不垃圾评论谁给我堵啊。
网名:李子

我的blog就是学习笔记!!
文章写的不错,特来顶一下!!!
看不懂
我感觉还是系统默认的评论插件最好用,你说呢?
我目前也没使用反垃圾评论插件,主要原因是每天的留言不多,自己可以手动的进行审核,不过这两天发现每天都会收到一个或几个垃圾评论。我也正在考虑要不要使用反垃圾评论插件,
我就碰到了,可以发评论,返回后提示出错信息
@小强
这不是素质的问题,是发贴机一类的软件自动发的。可能你还没遇到。
我不装反垃圾评论插件的,因为大家都很有素质,应该不会有垃圾评论,嘿嘿!