Title: 500 internal server error when posting empty comment
Last modified: August 21, 2016

---

# 500 internal server error when posting empty comment

 *  Resolved [tamas.antalkwikkfix.com](https://wordpress.org/support/users/tamasantalkwikkfixcom/)
 * (@tamasantalkwikkfixcom)
 * [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/)
 * Hi,
 * when I try to post an empty comment, it drops a
    POST [http://…mysite&#8230](http://…mysite&#8230);.
   com/wp-comments-post.php 500 (Internal Server Error) in the console. Everything
   works fine if I disable the plugin, so there must be something with this.
 * Any tips to solve this?
 * [https://wordpress.org/plugins/wp-ajaxify-comments/](https://wordpress.org/plugins/wp-ajaxify-comments/)

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

 *  [smartwebdev](https://wordpress.org/support/users/smartwebdev/)
 * (@smartwebdev)
 * [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/#post-4917766)
 * I am getting the same thing. The error is not displaying in a pop up. I can see
   it in firebug but nothing shows on the page.
 * Any recommendations?
 *  [smartwebdev](https://wordpress.org/support/users/smartwebdev/)
 * (@smartwebdev)
 * [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/#post-4917767)
 * Ahhh I just solved it.
 * I had to set Z-Index to a super big number because the error pops up at the top
   but we have a fixed header that scrolls.
 * After setting it to 999999999999999999999999 which is way larger than the largest
   valid number. It works.
 * Try that and look for the little error message in red at the top of your browser.
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/#post-4917785)
 * Hi tamas.antalkwikkfix.com, hi smartwebdev,
 * [@tamas](https://wordpress.org/support/users/tamas/).antalkwikkfix.com:
    WordPress
   returns a status code 500 (Internal Server Error) by design if the comment form
   was not filled out correctly (like empty comment or invalid e-mail address). 
   So this is not a problem. Could you please send me a link where I can reproduce
   the problem?
 * [@smartwebdev](https://wordpress.org/support/users/smartwebdev/):
    Setting the
   z-index (default is 1000) to a higher value could be necessary (depending on 
   your theme or customizings). Nevertheless, I would not recommend to set the z-
   index to value larger than 2147483647 ([http://www.puidokas.com/max-z-index/](http://www.puidokas.com/max-z-index/)).
 * Hope this helps…
 *  Thread Starter [tamas.antalkwikkfix.com](https://wordpress.org/support/users/tamasantalkwikkfixcom/)
 * (@tamasantalkwikkfixcom)
 * [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/#post-4917787)
 * Hi janjonas,
 * I sent you a mail to mail at janjonas dot net. Please have a look.
    Thanks, Tamas
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/#post-4917790)
 * Thanks, login data works. Posting comments works too. What is the exact problem?
 * As mentioned above the (red) request that returns a 500 HTTP Status code in the
   console isn’t a problem. WordPress returns a 500er error be design.
 * Best regards,
    Jan
 *  Thread Starter [tamas.antalkwikkfix.com](https://wordpress.org/support/users/tamasantalkwikkfixcom/)
 * (@tamasantalkwikkfixcom)
 * [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/#post-4917791)
 * that was the problem, but you asked for a link to check it, so you’ve got one
   😀
 * If it is by design, then I let it be… thanks, cheers

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

The topic ‘500 internal server error when posting empty comment’ is closed to new
replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [tamas.antalkwikkfix.com](https://wordpress.org/support/users/tamasantalkwikkfixcom/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/500-internal-server-error-when-posting-empty-comment/#post-4917791)
 * Status: resolved