• 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)
  • Please post what’s on line 24 on your index.php

    Same problem as http://wordpress.org/support/3/1025
    That should fix it.

    Thread Starter mmacale

    (@mmacale)

    yeah it still doesn’t work, neither does the private posts part either. Makes me feel grumpy lol.

    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.

    To debug try something like putting die(var_dump($_POST)); at the top of comments.post.php and let us know what it says.

    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

    Could you link us to your blog and a test post where I could try to post some comments?

    Sure, allusion. (I just registered as nubeli).
    http://www.nubeli.org
    herb

    Thread Starter mmacale

    (@mmacale)

    Thank you LaughingLizard! I got it ALL to work! 🙂 *hugs*

    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! 🙂

    southerngal, I had this same problem, here’s the fix: http://wordpress.org/support/3/1487 🙂

    Thanks Nothlit! 🙂

    I realized my comments problem originated with the webhost. Thanks for the help.

    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!

    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)
  • The topic ‘comments problem’ is closed to new replies.