Title: Functions.php breaks up wp-admin
Last modified: August 21, 2016

---

# Functions.php breaks up wp-admin

 *  Resolved [davegrun](https://wordpress.org/support/users/davegrun/)
 * (@davegrun)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/)
 * Hello, right now we have a situation where /wp-admin/ gives me a 500 error. If
   I disable functions.php in the Themes file (by renaming it) then the Admin panel
   works fine-but the site pages do not display correctly. I tried loading an old
   functions.php file and it does not help; we also checked the functions.php and
   it appears error free. It is possible that we accidentally erased some files.
   Otherwise I do not know why this is happening. Can anyone help? Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836132)
 * What theme are you using? Where did you download it from?
 *  Thread Starter [davegrun](https://wordpress.org/support/users/davegrun/)
 * (@davegrun)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836136)
 * Thanks [@esmi](https://wordpress.org/support/users/esmi/), it is a custom theme
   based on Twenty Eleven. But a designer built it for us. It was working fine until
   yesterday.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836139)
 * Then you may need to go back to the designer for a fresh copy of the theme.
 *  Thread Starter [davegrun](https://wordpress.org/support/users/davegrun/)
 * (@davegrun)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836142)
 * Not the answer I am looking for, thanks. The designer made the change to functions.
   php so the answer lies elsewhere.
 * Can you think of another possibility? Or can someone else help?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836146)
 * > Not the answer I am looking for
 * Seriously? What did you expect? You erased some files in a custom theme. Do you
   honestly expect us to be able to pull a copy of that same custom theme out of
   a hat?
 * Either get a fresh copy of your custom theme or use another theme.
 *  Thread Starter [davegrun](https://wordpress.org/support/users/davegrun/)
 * (@davegrun)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836149)
 * Hey [@esma](https://wordpress.org/support/users/esma/), I appreciate your response.
   Please don’t take it the wrong way. I’ll check backups to see if files are missing.
   Thanks again.
 *  Thread Starter [davegrun](https://wordpress.org/support/users/davegrun/)
 * (@davegrun)
 * [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836260)
 * [@esma](https://wordpress.org/support/users/esma/), the problem was indeed a 
   file that was inadvertently deleted. After restoring it all things are go. Thanks,
   Dave

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Functions.php breaks up wp-admin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [davegrun](https://wordpress.org/support/users/davegrun/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/functionsphp-breaks-up-wp-admin/#post-3836260)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
