Comment error, happens only sometimes
-
I have a blog at https://www.morechickenandtuna.net/wordpress/. A couple of days ago, commenters started reporting that they were occasionally getting errors while commenting. This doesn’t happen all the time, but it happens only sometimes (and of course, when it happens and the user hits the back button, their text has been lost). I haven’t made any updates or changes to my WP in a few months, and this just started happening a few days ago. And like I said, it’s random. Doesn’t happen all the time.
Here is the error.
WordPress database error: [Lost connection to MySQL server during query]
INSERT INTO wp_comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved, comment_agent, comment_type, comment_parent, user_id) VALUES (‘558’, ‘LazyLightning’, ‘[email protected]’, ‘https://www.morechickenandtuna.net’, ‘134.129.220.97’, ‘2007-05-22 09:02:31’, ‘2007-05-22 14:02:31’, ‘I have no clue what is wrong with my comments. I tried to post one here and it gave me the error too. WHAT\’S GOING ON!?’, ‘1’, ‘Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3’, ”, ‘0’, ‘0’)WordPress database error: [MySQL server has gone away]
SELECT COUNT(*) FROM wp_comments WHERE comment_post_ID = ‘558’ AND comment_approved = ‘1’WordPress database error: [MySQL server has gone away]
UPDATE wp_posts SET comment_count = WHERE ID = ‘558’WordPress database error: [MySQL server has gone away]
SELECT * FROM wp_posts WHERE ID = ‘558’ LIMIT 1WordPress database error: [MySQL server has gone away]
SELECT option_value FROM wp_options WHERE option_name = ‘comments_notify’ LIMIT 1Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/r/i/drienne/html/wordpress/wp-includes/wp-db.php:102) in /home/content/d/r/i/drienne/html/wordpress/wp-comments-post.php on line 55
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/r/i/drienne/html/wordpress/wp-includes/wp-db.php:102) in /home/content/d/r/i/drienne/html/wordpress/wp-comments-post.php on line 56
Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/r/i/drienne/html/wordpress/wp-includes/wp-db.php:102) in /home/content/d/r/i/drienne/html/wordpress/wp-comments-post.php on line 57
WordPress database error: [MySQL server has gone away]
SELECT * FROM wp_posts WHERE ID = ‘558’ LIMIT 1Warning: Cannot modify header information – headers already sent by (output started at /home/content/d/r/i/drienne/html/wordpress/wp-includes/wp-db.php:102) in /home/content/d/r/i/drienne/html/wordpress/wp-includes/pluggable-functions.php on line 247
- The topic ‘Comment error, happens only sometimes’ is closed to new replies.