Support » Themes and Templates » footer.php error

footer.php error

  • i am getting this error on my footer.php file

    Parse error: syntax error, unexpected ‘}’ in /homepages/12/d229636419/htdocs/msnmessenger/wp-content/themes/StudioPress_Green/footer.php on line 47

Viewing 4 replies - 1 through 4 (of 4 total)
  • There is a PHP syntax error in your footer file on line 47

    I can see that,how do i fix it?

    Moderator James Huff


    Well, according to the error, there is an unexpected } on line 47 of footer.php, so I would start by check to see if there really is an unexpected } on line 47 of footer.php. If there is, remove it, or try to see what else is causing the syntax to break.

    Did you make any edits to footer.php recently? If so, you might want to undo them and start over. If you have not edited that file recently, try download the theme again and uploading a fresh copy of footer.php.

    Hi Ben,
    This is because of the loops or conditions(if…else… etc) is not properly opened({) closed(}).
    So,check all the loops and conditions in


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘footer.php error’ is closed to new replies.
Skip to toolbar