Error in Single.php? (3 posts)

  1. ThePawSpa
    Posted 9 years ago #

    I just installed WP and now receiving this error:

    Parse error: syntax error, unexpected T_ELSE in /home/esimonse/public_html/wp-content/themes/groom/single.php on line 77

    I did a search here and could not find any topics on this issue.

    My site is at http://www.esimonsen.com and the only thing on line 77 is:without the asterick <*?php endwhile; else: ?>

    Any help would be greatly appreciated. And dont mind the crappy site design, I am not great at designing sites :(

  2. TechGnome
    Posted 9 years ago #

    Sounds like there was an If statement above somewhere that was removed.... w/o being able to see all of the code (and no, don't post it here)... it would be hard to tell how exactly to fix it. One of two things would need to be done:
    1) Determine what the original IF statement was, and where it was and put it back... or
    2) Remove the else... and most likely there's an endif in there somewhere that would also need to come out.


  3. ThePawSpa
    Posted 9 years ago #

    Thanks tech.. I will remove the If else statement and see if that works

Topic Closed

This topic has been closed to new replies.

About this Topic