Title: Error during comment submit =&gt; ROOT/wp-comments-post.php error
Last modified: February 7, 2022

---

# Error during comment submit => ROOT/wp-comments-post.php error

 *  [eyeofskoda](https://wordpress.org/support/users/eyeofskoda/)
 * (@eyeofskoda)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-during-comment-submit-root-wp-comments-post-php-error/)
 * Hi.
 * I’m having an error when I try to submit an answer on my Q&A website, running
   Ask Me theme. After a 2 minute long wait or something, it opens the URL _(My 
   Root Domain)/wp-comments-post.php_.
 * I believe the error occurred after upgrading to WP 5.9. That’s why I downgraded
   back to the old version with a back up. The problem is still there. I checked
   the Console errors, PHP files, forums but still couldn’t find the right answer.
 * The weird thing is, posting a comment “rarely” worked. I mean I’ve tried like
   maybe 40-50 times to post a comment during this period of tests, and 2-3 times
   posting the comment worked.
 * What I’ve tried so far:
    - Backup and downgrade back to the old, working WP version
    - Disable auto-update
    - Disable plugins
    - Check PHP files
    - Check Console/Log errors
    - Check online for a similar situation
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-during-comment-submit-root-wp-comments-post-php-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Teddy Patriarca](https://wordpress.org/support/users/tykoted/)
 * (@tykoted)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-during-comment-submit-root-wp-comments-post-php-error/#post-15339600)
 * Hello,
 * If you think the issue was due to the recent update, the troubleshooting guide
   here might help: [https://wordpress.org/support/topic/read-this-first-wordpress-5-9/#post-15286141](https://wordpress.org/support/topic/read-this-first-wordpress-5-9/#post-15286141)
 * If that does not resolve the issue, it’s possible that a `.htaccess` rule could
   be the source of the problem. To check for this, access your server via SFTP 
   or FTP, or a file manager in your hosting account’s control panel, and rename
   the `.htaccess` file. If you can’t find a `.htaccess` file, make sure that you
   have set your SFTP or FTP client to view invisible files.
 * If you weren’t able to resolve the issue by either following the guide or renaming
   your `.htaccess` file, we may be able to help, but we’ll need a more detailed
   error message. Server errors are usually described in more detail in the server
   error log. If you have access to your server error log, generate the error again,
   note the date and time, then immediately check your server error log for any 
   errors that occurred during that time period. If you don’t have access to your
   server error log, ask your hosting provider to look for you.
    -  This reply was modified 4 years, 3 months ago by [Teddy Patriarca](https://wordpress.org/support/users/tykoted/).

Viewing 1 replies (of 1 total)

The topic ‘Error during comment submit => ROOT/wp-comments-post.php error’ is closed
to new replies.

## Tags

 * [answer](https://wordpress.org/support/topic-tag/answer/)
 * [comment](https://wordpress.org/support/topic-tag/comment/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [question](https://wordpress.org/support/topic-tag/question/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Teddy Patriarca](https://wordpress.org/support/users/tykoted/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/error-during-comment-submit-root-wp-comments-post-php-error/#post-15339600)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
