The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Emergency, cannot access admin (6 posts)

  1. savagedome
    Posted 3 years ago #

    Hello, I am in a real pickle and cannot get into my blog.

    I was trying to install some code, which I am not good at, and once I finished I get he following error.

    Parse error: syntax error, unexpected '?' in /home/sports/public_html/wp-content/themes/admired/functions.php on line 411

    I uses the Admired Theme and myt blog is hosted on HostGator if that help?

    Please help. Thanks!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Switch to the Twenty Eleven theme by renaming:




    using FTP or whatever file management application your host provides. That should get back into your site again and allow you to try downloading a fresh copy of the chosen theme.

  3. savagedome
    Posted 3 years ago #

    OK thanks I will give that a try!

  4. vjpo
    Posted 3 years ago #

    line 411 in functions.php of Admired Theme is the last line and looks like

    Check via FTP if there > sign in the line. May be you lost it during editing.
    You also can upload default functions.php instead of edited into the theme folder. May be this is better if you are not familiar with PHP.

  5. savagedome
    Posted 3 years ago #

    Esmi, you are a genius! A million thank you's!!!

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Glad I could help :-)

Topic Closed

This topic has been closed to new replies.

About this Topic