• While attempting to do some editing, I accidently deleted my themefunctions.php css. An error popped up that said

    ” Parse error: syntax error, unexpected T_IF, expecting ‘)’ in /home/content/10/5676610/html/wp-content/themes/jenny/functions.php on line 22″

    At this point I still had access to my admin page, so I tried to click on the “themes” page to try and switch themes to avoid any problems. Once I navigated away from that original page, though, everything returned me to that same error.

    I can’t even login to my page!

    I really have no idea what to do, and I am in serious need of help!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Replace the file you deleted with either a copy from your last backup, or the original from the theme using your ftp client or hosts file manger in your control panel.

    The error says that you’re missing a closing bracket in your functions.php on line 22. If you don’t know how to fix that, copy & paste that line here so others can fix it for you.

    i had the same problem…please help

    While doing some editing, I accidently deleted my themefunctions.php css.

    An error popped up:

    Warning: require_once(/home/mitch/public_html/miamiinvestigators.net/wp-content/themes/mitch/functions//admin-setup.php) [function.require-once]: failed to open stream: No such file or directory in /home/mitch/public_html/miamiinvestigators.net/wp-content/themes/mitch/functions.php on line 12

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/mitch/public_html/miamiinvestigators.net/wp-content/themes/mitch/functions//admin-setup.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/mitch/public_html/miamiinvestigators.net/wp-content/themes/mitch/functions.php on line 12

    i dont have access to my admin page! and dont want to lose all the hard work i’ve put into this site…PLEASE HELP!

    Hi Jromancha,
    was your problem solve? I also have similar problem and seriously looking for assistance. I wanted to added slide show plugin call xili-floom-slideshow in the header. I activitated and added this code: xilifloom_theme_header() in the functions.php. of the theme. Now the website is down Its shows:
    Parse error: syntax error, unexpected T_IF in /home/octavi/globalunificationthegambia.org/wp-content/themes/third-style/functions.php on line 47

    I can not even login to wordpress. Please i need help. My website is: https://www.globalunificationthegambia.org

    Please post a new topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HELP! Accidently deleted themefunctions.php’ is closed to new replies.