• elyonline

    (@elyonline)


    Hi there,

    I am getting the error below on my comments form:

    Parse error: parse error, unexpected T_ENDFOREACH in /home/public_html/news/wp-content/themes/elyonline/comments.php on line 28

    I can’t see any errors but I am sure someone will point out my error 🙂

    Here is a link to a text file of my comments page:
    http://www.elyonline.co.uk/comments.txt

    Many thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • moshu

    (@moshu)

    I’ve checked several comments.php files in different themes, and all of them have this line:
    <?php foreach ($comments as $comment) : ?>
    Yours has it like this:
    <?php foreach ($comments as $comment) { ?>
    I’m not a coder, but I’d give it a try…

    ColdForged

    (@coldforged)

    Moshu called it.

    moshu

    (@moshu)

    🙂 actually I have no idea what the difference is… I just put my +2.5 glasses on, LOL

    Thread Starter elyonline

    (@elyonline)

    Ha good stuff 🙂

    Very good eyesight indeed 🙂

    Thanks a lot

    Thread Starter elyonline

    (@elyonline)

    ** fixed** thanks

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

The topic ‘Parse error on comments.php: unexpected T_ENDFOREACH’ is closed to new replies.