Title: Server Error 500 Help
Last modified: August 30, 2016

---

# Server Error 500 Help

 *  Resolved [ayepal](https://wordpress.org/support/users/ayepal/)
 * (@ayepal)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/server-error-500-help/)
 * Tonight I went to edit the functions.php file of my theme so that I could further
   wigitize the site. But after adding in the code and hitting update I got Server
   Error 500 and now when I click anywhere or try to navigate anywhere within my
   sites wordpress or try to access just the site, I’ll get Server Error 500.
 * This was the code I added in `<?php
    /** * Register our sidebars and widgetized
   areas. * */ function arphabet_widgets_init() {
 *  register_sidebar( array(
    ‘name’ => ‘Home right sidebar’, ‘id’ => ‘home_right_1’,‘
   before_widget’ => ‘<div>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<h2
   class=”rounded”>’, ‘after_title’ => ‘</h2>’, ) );
 * }
    add_action( ‘widgets_init’, ‘arphabet_widgets_init’ ); ?>`
 * What can I do? I have no idea what happened to make it do that.
 * The site is [http://www.newsthc.com](http://www.newsthc.com)

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

 *  [juggledad](https://wordpress.org/support/users/juggledad/)
 * (@juggledad)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/server-error-500-help/#post-6732514)
 * The site is working fine for me.
 * To replace the file, use your cPanel’s file manager or an FTP program to replace
   the function.php file you changed with a fresh copy (download a copy of the theme
   to your PC and unsip it to get a fresh copy).
 *  Thread Starter [ayepal](https://wordpress.org/support/users/ayepal/)
 * (@ayepal)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/server-error-500-help/#post-6732516)
 * Thanks for the reply.
 * I ended up doing a restore of the site’s files and database via godaddy which
   did the trick. Will keep that in mind if it happens again though!

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

The topic ‘Server Error 500 Help’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [server-error](https://wordpress.org/support/topic-tag/server-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ayepal](https://wordpress.org/support/users/ayepal/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/server-error-500-help/#post-6732516)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
