Title: comments problem
Last modified: August 18, 2016

---

# comments problem

 *  [mmacale](https://wordpress.org/support/users/mmacale/)
 * (@mmacale)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/comments-problem/)
 * When people or myself try to comment on any one of my entries they get this problem:
   
   Warning: Invalid argument supplied for foreach() in /home/mmacale/public_html/
   index.php on line 24 They can write the comment and everything, but can’t submit.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/comments-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/comments-problem/page/2/?output_format=md)

 *  [southerngal](https://wordpress.org/support/users/southerngal/)
 * (@southerngal)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/comments-problem/#post-26747)
 * Please post what’s on line 24 on your index.php
 *  [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * (@laughinglizard)
 * [22 years, 6 months ago](https://wordpress.org/support/topic/comments-problem/#post-26749)
 * Same problem as [http://wordpress.org/support/3/1025](http://wordpress.org/support/3/1025)
   
   That should fix it.
 *  Thread Starter [mmacale](https://wordpress.org/support/users/mmacale/)
 * (@mmacale)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27298)
 * yeah it still doesn’t work, neither does the private posts part either. Makes
   me feel grumpy lol.
 *  Anonymous
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27543)
 * I recently upgraded from B2 to WordPress 0.72. Everything works great except 
   for comments. When I or anyone else attempts to write a comment, we get the error
 * > Error: please type a comment
 *  even if all the boxes have been filled.
    Comments worked in the old B2 setup.
   I haven´t found any good answers in the forum archives, including allowing popup
   comments in the index.php file.
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27544)
 * To debug try something like putting `die(var_dump($_POST));` at the top of comments.
   post.php and let us know what it says.
 *  Anonymous
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27551)
 * Thanks, Allusion. I put die(var_dump($_POST)); at the top of b2comments.post.
   php and I got this
 * > array(0) { }
 *  after entering comments and clicking Say It! I guess that means nothing is being
   passed on through post? I don´t have any problems blogging, just comments (even
   as admin).
    Thanks any help. Great work being done here, I hope to be able to
   support it in any way. Herb
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27552)
 * Could you link us to your blog and a test post where I could try to post some
   comments?
 *  [nubeli](https://wordpress.org/support/users/nubeli/)
 * (@nubeli)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27554)
 * Sure, allusion. (I just registered as nubeli).
    [http://www.nubeli.org](http://www.nubeli.org)
   herb
 *  Thread Starter [mmacale](https://wordpress.org/support/users/mmacale/)
 * (@mmacale)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27602)
 * Thank you LaughingLizard! I got it ALL to work! 🙂 *hugs*
 *  [southerngal](https://wordpress.org/support/users/southerngal/)
 * (@southerngal)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27603)
 * I have a weird problem with my comments in the edit screen. All entries show 
   they have one comment. Even if there is no comment or more than one. How do I
   fix this please?
    Thanks! 🙂
 *  [Nothlit](https://wordpress.org/support/users/nothlit/)
 * (@nothlit)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27604)
 * southerngal, I had this same problem, here’s the fix: [http://wordpress.org/support/3/1487](http://wordpress.org/support/3/1487)
   🙂
 *  [southerngal](https://wordpress.org/support/users/southerngal/)
 * (@southerngal)
 * [22 years, 5 months ago](https://wordpress.org/support/topic/comments-problem/#post-27605)
 * Thanks Nothlit! 🙂
 *  [nubeli](https://wordpress.org/support/users/nubeli/)
 * (@nubeli)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/comments-problem/#post-27611)
 * I realized my comments problem originated with the webhost. Thanks for the help.
 *  Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/comments-problem/#post-27621)
 * nubeli, can you elaborate on what problems you found with the webhost? i have
   the same problem with a fresh 1.0 install, unable to post comments. thanks!
 *  Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/comments-problem/#post-27623)
 * I am having the same problem as nubeli above, with all comment post attempts 
   returning “Error: please type a comment.” When I added the `die(var_dump($_POST));`,
   the page reterns the same “array(0) { }”. Does anyone have thoughts on this issue?
   If this is a problem with the host, what settings do I need to have changed or
   enabled?
    Oddly, .72 did not give me this problem. 1.0 and the 7/1/04 cvs release
   both have this error. I would appreciate any thoughts! Cheers!

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/comments-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/comments-problem/page/2/?output_format=md)

The topic ‘comments problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 19 replies
 * 8 participants
 * Last reply from: [ZhiWen](https://wordpress.org/support/users/zhiwen/)
 * Last activity: [22 years, 4 months ago](https://wordpress.org/support/topic/comments-problem/page/2/#post-27630)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
