Title: function.php crash
Last modified: August 21, 2016

---

# function.php crash

 *  [kingdoc](https://wordpress.org/support/users/kingdoc/)
 * (@kingdoc)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/functionphp-crash/)
 * I was addind code to my function.php to enable footer menu like this
 * register_nav_menus(
    array( ‘main_nav’ => __( ‘Main navigation Menu’ ), ‘extra-
   menu’ => __( ‘Extra Menu’ ) ) ); }
 * but i got this error:
 * ***************************************
    Parse error: syntax error, unexpected
   T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in /home/content/55/8319155/html/wp-
   content/themes/WK_theme/functions.php on line 44
 * ********************************************************
 * I removed the code but the error is still. there. I check Line 44 and it was 
   blank
 * [Here is the file with error](https://www.dropbox.com/s/hlhi248mavaryh0/function.php2.txt)

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/functionphp-crash/#post-4921607)
 * Extract the functions.php file from an unedited copy of the theme and upload 
   it to wp-content/themes/WK_theme using [FTP](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides.

Viewing 1 replies (of 1 total)

The topic ‘function.php crash’ is closed to new replies.

## Tags

 * [site crash](https://wordpress.org/support/topic-tag/site-crash/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/functionphp-crash/#post-4921607)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
