Title: Ajax Error in Comment Admin
Last modified: January 30, 2022

---

# Ajax Error in Comment Admin

 *  Resolved [Jennifer Moss](https://wordpress.org/support/users/mossifer/)
 * (@mossifer)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/ajax-error-in-comment-admin/)
 * Issue: Using the Comments Admin, if I reply to a comment it gives a red error
   bar with no error text. If you reload, the comment was indeed posted. Something
   is happening with the ajax. Looks like it’s an issue with the core wp files!??
   Turning off all plugins doesn’t help.
 * Errors:
 * XML Parsing Error: XML or text declaration not at start of entity
    Location: /
   wp-admin/admin-ajax.php?_fs_blog_admin=true Line Number 1, Column 2: admin-ajax.
   php:1:2 XML Parsing Error: XML or text declaration not at start of entity Location:/
   wp-admin/edit-comments.php Line Number 1, Column 2:`
    -  This topic was modified 4 years, 4 months ago by [Jennifer Moss](https://wordpress.org/support/users/mossifer/).
    -  This topic was modified 4 years, 4 months ago by [Jennifer Moss](https://wordpress.org/support/users/mossifer/).
    -  This topic was modified 4 years, 4 months ago by [Jennifer Moss](https://wordpress.org/support/users/mossifer/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fajax-error-in-comment-admin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/ajax-error-in-comment-admin/#post-15308291)
 * Try [manually resetting your plugins](https://wordpress.org/support/article/faq-troubleshooting/#how-to-deactivate-all-plugins-when-not-able-to-access-the-administrative-menus)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, access your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel, navigate to `/wp-content/
   themes/` and rename the directory of your currently active theme. This will force
   the default theme to activate and hopefully rule-out a theme-specific issue (
   theme functions can interfere like plugins).
 *  Thread Starter [Jennifer Moss](https://wordpress.org/support/users/mossifer/)
 * (@mossifer)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/ajax-error-in-comment-admin/#post-15308294)
 * I found the answer online – to get rid of excess white space at the end of Functions.
   php. That worked!
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/ajax-error-in-comment-admin/#post-15308306)
 * Glad its sorted 🙂

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

The topic ‘Ajax Error in Comment Admin’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/ajax-error-in-comment-admin/#post-15308306)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
