Title: function.php error and Wp stop working
Last modified: August 20, 2016

---

# function.php error and Wp stop working

 *  [umerkakar](https://wordpress.org/support/users/umerkakar/)
 * (@umerkakar)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/functionphp-error-and-wp-stop-working/)
 * Salam everyone,
    I am creating theme for my website for 1st time in worpress.
   And i go help and collect codes from here and there and combine them for working.
   I created theme on PC WP and when I upload theme to website Network home admin
   panel becomes inactive with white pages, and when I open any network site pannel
   its worked. So I delete function.php from my control panel and then network home
   becomes active. Then I repeat upload file and again WP stop working. So, plz 
   someone help me to correct my codes. I writing down my function php script under
   and some others.
 * Tjis is function php page codes:
 * _[ **269 lines of code moderated.** For [more than **10 lines of code**](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
   please [pastebin.com](http://pastebin.com/) instead. ]_
 * I think error is one of these file, please Masters help me. Thanks
 * Regards,
    Kakar

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

 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/functionphp-error-and-wp-stop-working/#post-2790750)
 * Seriously: use Pastebin for code longer than about 10 lines.
 * As for your specific problem: I would recommend starting with a blank `functions.
   php` file, and verify that the site works.
 * Then, restore each part of functions.php, line-by-line or function-by-function(
   as appropriate), to determine what code is causing the error. Be sure that you
   have enabled `WP_DEBUG`, so that you can see the **Fatal Error(s)** being generated.
 *  Thread Starter [umerkakar](https://wordpress.org/support/users/umerkakar/)
 * (@umerkakar)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/functionphp-error-and-wp-stop-working/#post-2790887)
 * Thanks for good advice, شکریہ
 *  Thread Starter [umerkakar](https://wordpress.org/support/users/umerkakar/)
 * (@umerkakar)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/functionphp-error-and-wp-stop-working/#post-2790888)
 * I found problem when I delete the line of settings.php its ok when again I copy
   again the include code its stop work. Now what I do.
    Thanks <?php ** include(“
   settings.php”);  # Sidebar if (function_exists(‘register_sidebar’)) { register_sidebar(
   array( ‘name’ => ‘Full Width Widget’, ‘before_widget’ => ”, ‘after_widget’ =>‘
   </div>’, ‘before_title’ => ‘<h3>’, ‘after_title’ => ‘</h3><div class=”box”>’,));}
 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/functionphp-error-and-wp-stop-working/#post-2790891)
 * You are talking about ‘functions.php’ inside your theme folder, right?
 * You don’t want to include ‘settings.php’ in your ‘functions.php’ file. Try without
   that ‘include’ line.
 *  Thread Starter [umerkakar](https://wordpress.org/support/users/umerkakar/)
 * (@umerkakar)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/functionphp-error-and-wp-stop-working/#post-2791035)
 * yes this was the problem, if you ask me i will email your the files via email
   or ion the bolg and help me to get rid from the problem

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

The topic ‘function.php error and Wp stop working’ is closed to new replies.

## Tags

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

 * 5 replies
 * 3 participants
 * Last reply from: [umerkakar](https://wordpress.org/support/users/umerkakar/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/functionphp-error-and-wp-stop-working/#post-2791035)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
