Title: Error messages when posting comments
Last modified: April 29, 2023

---

# Error messages when posting comments

 *  [skipvia](https://wordpress.org/support/users/skipvia/)
 * (@skipvia)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-messages-when-posting-comments/)
 * On several occasions, when a reader posts a comment, they receive this error 
   message
 * Warning: Undefined variable $comment in /home/westvall/public_html/wp-content/
   plugins/subscribe-to-comments/subscribe-to-comments.phponline504
   Warning: Attempt
   to read property “comment_approved” on null in /home/westvall/public_html/wp-
   content/plugins/subscribe-to-comments/subscribe-to-comments.phponline504Warning:
   Undefined array key “subscribe” in /home/westvall/public_html/w-content/plugins/
   subscribe-to-comments/subscribe-to-comments.phponline504Warning: Cannot modify
   header information – headers already sent by (output started at /home/westvall/
   public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php:
   504)in /home/westvall/public_html/w-includes/comment.phpon line 557Warning: Cannot
   modify header information – headers already sent by (output started at /home/
   westvall/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.
   php:504)in /home/westvall/public_html/w-includes/comment.phpon line 558Warning:
   Cannot modify header information – headers already sent by (output started at/
   home/westvall/public_html/wp-content/plugins/subscribe-to-comments/subscribe-
   to-comments.php:504)in /home/westvall/public_html/w-includes/comment.php on line
   559Warning: Cannot modify header information – headers already sent by (output
   started at /home/westvall/public_html/w-content/plugins/subscribe-to-comments/
   subscribe-to-comments.php:504)in /home/westvall/public_html/w-includes/pluggable.
   php on line 1427Warning: Cannot modifv header information – headers already sent
   by (output started at /home/westvall/publichtml/w-content/plugins/subscribe-to-
   comments/subscribe-to-comments.php:504)in /home/westvall/public_html/w-includes/
   pluggable.phpon line 1430
 * This occurs when a reader posts a comment and also when I, logged in as administrator,
   post a reply. The comments and replies are posted, but it’s up to the reader 
   to return to the page.
 * Thank you for any help you could provide.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-messages-when-posting-comments%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-messages-when-posting-comments/#post-16698154)
 * I recommend asking at [https://wordpress.org/support/plugin/subscribe-to-comments/#new-post](https://wordpress.org/support/plugin/subscribe-to-comments/#new-post)
   so the plugin’s developers and support community can help you with this. Note,
   however, that the plugin hasn’t been updated for over 8 years. It’s time to [find another plugin](https://wordpress.org/plugins/search/subscribe+comments/)
   for this functionality.
 *  Thread Starter [skipvia](https://wordpress.org/support/users/skipvia/)
 * (@skipvia)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-messages-when-posting-comments/#post-16698397)
 * Thank you Steven. That should have been obvious to me. Disabled the old plugin
   and added a supported one that works perfectly.
 * Thanks for your patience with this simple question. Next time I’ll know…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error messages when posting comments’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 3 replies
 * 3 participants
 * Last reply from: [skipvia](https://wordpress.org/support/users/skipvia/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/error-messages-when-posting-comments/#post-16698397)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
