Title: HELP! Accidently deleted themefunctions.php
Last modified: August 19, 2016

---

# HELP! Accidently deleted themefunctions.php

 *  [jromanchak526](https://wordpress.org/support/users/jromanchak526/)
 * (@jromanchak526)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/help-accidently-deleted-themefunctionsphp/)
 * 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)

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/help-accidently-deleted-themefunctionsphp/#post-1741596)
 * 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.
 *  [Joseph](https://wordpress.org/support/users/jpe24524/)
 * (@jpe24524)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/help-accidently-deleted-themefunctionsphp/#post-1741597)
 * 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.
 *  [mitchrabreu](https://wordpress.org/support/users/mitchrabreu/)
 * (@mitchrabreu)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/help-accidently-deleted-themefunctionsphp/#post-1741882)
 * 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!
 *  [ebrima](https://wordpress.org/support/users/ebrima/)
 * (@ebrima)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/help-accidently-deleted-themefunctionsphp/#post-1741920)
 * 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: [http://www.globalunificationthegambia.org](http://www.globalunificationthegambia.org)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/help-accidently-deleted-themefunctionsphp/#post-1741921)
 * 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.

## Tags

 * [can't access admin](https://wordpress.org/support/topic-tag/cant-access-admin/)

 * 5 replies
 * 6 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/help-accidently-deleted-themefunctionsphp/#post-1741921)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
