Title: [Plugin: Ajax Comment Posting]  &#8220;Cannot modify header information&#8221; errors
Last modified: August 19, 2016

---

# [Plugin: Ajax Comment Posting] “Cannot modify header information” errors

 *  [taliesin1077](https://wordpress.org/support/users/taliesin1077/)
 * (@taliesin1077)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-ajax-comment-posting-cannot-modify-header-information-errors/)
 * After I updated to the latest version of this plugin, I cannot log in to my WP
   blog.
 * On the admin login page, I get these two errors:
 *     ```
       Warning: Cannot modify header information - headers already sent by (output started at /<em>[path removed to wp-content/plugins/ajax-comment-posting]</em>/ajax-comment-posting.php:17) in /<em>[path removed to blog directory]</em>/wp-login.php on line 302
   
       Warning: Cannot modify header information - headers already sent by (output started at /<em>[path removed to wp-content/plugins/ajax-comment-posting]</em>/ajax-comment-posting.php:17) in <em>[path removed to blog directory]</em>/wp-login.php on line 314
       ```
   
 * But I can still log in. When I do log in, I get a list of errors like the above,
   and no admin dashboard. The errors are the same, but the files are different:
 * wp-login.php – lines 302 & 314
    wp-includes/pluggable.php – lines 665, 666, 667,
   868.
 * Before I updated this plugin, I had no problems. It seems to only be a problem
   with displaying the admin backend, though. The site still displays. I’ve not 
   bothered to try posting a comment. I will be removing this plugin to see if it
   allows me in.

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

 *  Thread Starter [taliesin1077](https://wordpress.org/support/users/taliesin1077/)
 * (@taliesin1077)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-ajax-comment-posting-cannot-modify-header-information-errors/#post-1350697)
 * To confirm, I uninstalled by using an FTP program to delete the director for 
   this plugin. I then reinstalled using the WordPress Add New Plugin feature. It
   broke again. I will be uninstalling this plugin until this is fixed.
 *  [Nitroweb](https://wordpress.org/support/users/spyrosvl/)
 * (@spyrosvl)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-ajax-comment-posting-cannot-modify-header-information-errors/#post-1351018)
 * Try editing:
    /wp-content/plugins/ajax-comment-posting/ajax-comment-posting.php
 * change:
    `echo '<link type="text/css" rel="stylesheet" href="'.$acp_url.'acp.
   css" />';`
 * to:
    `wp_enqueue_style('acp', $acp_url.'acp.css');`

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

The topic ‘[Plugin: Ajax Comment Posting] “Cannot modify header information” errors’
is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [Nitroweb](https://wordpress.org/support/users/spyrosvl/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-ajax-comment-posting-cannot-modify-header-information-errors/#post-1351018)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
