WordPress.org

Ready to get started?Download WordPress

Forums

footer.php error (5 posts)

  1. ben565
    Member
    Posted 3 years ago #

    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

  2. Karine
    Member
    Posted 3 years ago #

    There is a PHP syntax error in your footer file on line 47

  3. ben565
    Member
    Posted 3 years ago #

    I can see that,how do i fix it?

  4. James
    Happiness Engineer
    Posted 3 years ago #

    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.

  5. senthilkumars
    Member
    Posted 3 years ago #

    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
    footer.php

    Cheers!
    Senthil

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.