How to fix this comment error?
-
I upgraded from 2.0.4 to 2.0.5 before the site went “live.” I don’t know if this was the issue or not, but at first, any time I made a post, I’d get an error saying something about my mysql version and how using a “‘” (asterisk) was causing trouble. The post would be there in normal view. But always got the error message.
My host thought it might be the theme. But every theme did this. So I re-uploaded the 2.0.5 files and ran the upgrade script again. But there is still an error.
And if someone leaves a comment, they still get this message. Can anyone point me in the right direction about how to fix it?
——————————————————–
WordPress database error: [Unknown column ‘ID’ in ‘where clause’]
SELECT * FROM wp_comments WHERE ID = ‘7’WordPress database error: [Unknown column ‘ID’ in ‘where clause’]
UPDATE wp_comments SET comment_content = ” WHERE ID = ‘7’Warning: Cannot modify header information – headers already sent by (output started at public_html/wp-includes/wp-db.php:104) in public_html/wp-comments-post.php on line 55
Warning: Cannot modify header information – headers already sent by (output started at public_html/wp-includes/wp-db.php:104) in public_html/wp-comments-post.php on line 56
Warning: Cannot modify header information – headers already sent by (output started at public_html/wp-includes/wp-db.php:104) in public_html/wp-comments-post.php on line 57
Warning: Cannot modify header information – headers already sent by (output started at public_html/wp-includes/wp-db.php:104) in public_html/wp-includes/pluggable-functions.php on line 269
- The topic ‘How to fix this comment error?’ is closed to new replies.