Title: Parse error: syntax error, unexpected T_FUNCTION&#8230;.
Last modified: August 20, 2016

---

# Parse error: syntax error, unexpected T_FUNCTION….

 *  [narined](https://wordpress.org/support/users/narined/)
 * (@narined)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-4/)
 * I am getting this error:
    all my other wp works, just transfers this website 
   to godaddy hosting from my developer’s host now its not working.
 * i though it was the version of php but it checked and i have 5.3.
    If i deleted
   the code section below, the site works, but now my slide show doesnt work and
   also the site is not responsive to screen sizes.
 * ERROR:
    **Parse error: syntax error, unexpected T_FUNCTION in /home/content/f/
   a/c/facc2631/html/wp-content/themes/royal-de-versailles/functions.php on line
   93**
 * This is the php code from my Function.php page
 *  * Queue custom CSS and scripts
    */ **(\*\*\*LINE 93 ERROR\*\*\*)** add_action(‘
   wp_enqueue_scripts’, function() {
 *  // Load CSS
    bones_load_css(array( ‘library/css/bootstrap.min.css’, //’library/
   css/bootstrap-responsive.min.css’, ‘[http://fast.fonts.com/cssapi/ba530772-e632-4e7a-b387-e98e19816f57.css&#8217](http://fast.fonts.com/cssapi/ba530772-e632-4e7a-b387-e98e19816f57.css&#8217);());
 *  // Load Js
    bones_load_js(array( //’library/js/libs/bootstrap-touch.js’, ‘library/
   js/libs/bootstrap.min.js’, ‘library/js/libs/jquery.slider.js’, ‘library/js/libs/
   jgestures.min.js’ //’library/js/libs/zepto.min.js’, //’library/js/libs/zepto.
   flickable.min.js’ ));
 * **(\*\*\*LINE 113 ERROR\*\*\*)**});
 * /**
    * Queue custom CSS and scripts (admin) */ **(\*\*\*LINE 118 ERROR\*\*\*)**
   add_action(‘admin_enqueue_scripts’, function(){ // Load admin Js bones_load_admin_js(
   array( ‘library/js/scripts_admin.js’ )); **(\*\*\*LINE 123 ERROR\*\*\*)**});

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-4/#post-3275711)
 * Try switching to the default theme by renaming your current theme’s folder inside
   wp-content/themes and adding “-old” to the end of the folder name using [FTP](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides.

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected T_FUNCTION….’ is closed to new 
replies.

## Tags

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

 * 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: [13 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-4/#post-3275711)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
