WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Unexpected ' (10 posts)

  1. annap
    Member
    Posted 2 years ago #

    Hi,

    I just accessed my page http://culturerediscovered.com but it seems my theme is having trouble. When I scroll down to the bottom of the page it says

    Parse error: syntax error, unexpected '<' in /home/culture/culturerediscovered/wp-content/themes/twentyeleven/footer.php on line 12

    However, I cannot find this '<' in the code. Does anyone know what the code should be originally for theme 2011 ? What can I do to fix this?
    Thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Re-upload a fresh copy of Twenty Eleven using FTP:
    http://wordpress.org/extend/themes/twentyeleven

  3. nprior
    Member
    Posted 2 years ago #

    This is the code from footer.php up to and including line 13. Does this help?

    <?php
    /**
     * The template for displaying the footer.
     *
     * Contains the closing of the id=main div and all content after
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
     */
    ?>
    
    	</div><!-- #main -->
  4. nprior
    Member
    Posted 2 years ago #

    ... or do what esmi says!

  5. annap
    Member
    Posted 2 years ago #

    Thank you! The copy and paste worked, however the theme still isn't displayed correctly. The error message is gone but it still looks like this...

    http://culturerediscovered.com/

    Any suggestions as to what might be wrong?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Re-upload the theme.

  7. annap
    Member
    Posted 2 years ago #

    Do you have any suggestions for what FTP provider to use?

  8. annap
    Member
    Posted 2 years ago #

    Actually, I just re-uploaded it but am still having the same problem.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    It's working for me now.

  10. annap
    Member
    Posted 2 years ago #

    Same, thank you!!

Topic Closed

This topic has been closed to new replies.

About this Topic