Blank page after posting comments in Wordpress 2.6



Blank page after posting comments in Wordpress 2.6 – Im creating this post because I had this issue and spent a few hours filter through the many post on this topic but none of the resolutions either worked or were exactly like mine to begin with. So experience is as follows:

Issue:

  • At some point after upgrading to 2.6 I noticed that users that submitted comments were getting a blank page ending with normalstuff/wp-comments-post.php.
  • However, I could comment on the same post without any issue while logged in as an admin.
  • The problem only happened on older post, post created a couple of versions prior the 2.6 upgrade. Post created following the 2.6 upgrade worked both as the admin and the user.

Resolution:

  • The wp-comments-post.php document contained a blank line after the closing php tags “?>” (around line #85). This causes issues in PHP at times. I removed the blank space, tested posting comments to at least 3 post that had failed prior and the issue appears to be resolved.

Related Post
  • WordPress 2.6 upgrade issues and fixes
  • Trackback to get more links and traffic explained
  • Hello AdWords world!
  • Take your Wordpress blog offline with this Maintenance Page Plug-in
  • Two Wordpress 2.6 Upgrade helpful hints

  • 6 Comments

    1. jenn says:

      Thank you much! It worked.

    2. I’m facing the similar issue :(

    3. Steve says:

      In my case same prob, cant post with url…trying

    4. Beau says:

      Great website keep up the good work

      Check out my website on how to make money with adwords: ADWORDMIRACLE.INFO

    5. Jason Parker says:

      Apart from problem with comments, people can also get a blank page on commenting because some of their comments are marked as spam by blog owners. Akismet sends a 403 error along with blank page in this case. You might want to check that out.

    Leave a Reply