Title: Fatal Error after editing functions.php
Last modified: August 20, 2016

---

# Fatal Error after editing functions.php

 *  [jtl2744](https://wordpress.org/support/users/jtl2744/)
 * (@jtl2744)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-editing-functionsphp/)
 * Hi,
 * I recently tried following the instructions for adding widgets to a header area
   in wordpress and had a typo when updating it. This results in:
 * Fatal error: Call to undefined function reigster_sidebar() in /data/17/1/85/77/
   1737566/user/1876721/htdocs/proteus/wp-content/themes/twentyeleven/functions.
   php on line 439
 * Obviously I had a typo in the “reigster” part. I deleted the offending change
   that I made to functions.php and tried to update again, but still get the same
   error message. I can’t navigate anywhere else within the admin area.
 * Do I need to reinstall wordpress? Can I just upload a copy of the functions.php
   for the theme that I’m using somewhere?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-editing-functionsphp/#post-3019079)
 * Check what version of WordPress you are using.
 *  Thread Starter [jtl2744](https://wordpress.org/support/users/jtl2744/)
 * (@jtl2744)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-editing-functionsphp/#post-3019124)
 * I installed wordpress two weeks ago — so the most recent version, 3.4.1
 * Thanks in advance for any help
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-editing-functionsphp/#post-3019128)
 * It should be `register_sidebar()` – not `reigster_sidebar()`. And don’t edit 
   the Twenty Eleven theme. It is the default WordPress theme and having access 
   to an **unedited** version of the theme is vital when dealing with a range of
   site issues. First [create a child theme for your changes](http://codex.wordpress.org/Child_Themes).
 *  Thread Starter [jtl2744](https://wordpress.org/support/users/jtl2744/)
 * (@jtl2744)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-editing-functionsphp/#post-3019264)
 * When I attempted to change the sidebar to read correctly I got the fatal error
   message — same thing when I try to do ANYTHING from the admin section, even move
   to a different area.
 * It’s a little late for me to go back on editing the Twenty Eleven theme… is there
   a way for me to just wipe the wordpress stuff completely (perhaps via my domain
   host, network solutions) and just start completely from the beginning?

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

The topic ‘Fatal Error after editing functions.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [jtl2744](https://wordpress.org/support/users/jtl2744/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-editing-functionsphp/#post-3019264)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
