Title: functions.wp-scripts.php ERROR
Last modified: August 20, 2016

---

# functions.wp-scripts.php ERROR

 *  [hhakan](https://wordpress.org/support/users/hhakan/)
 * (@hhakan)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/functionswp-scriptsphp-error/)
 * Hello.
 * I Check my error log file inside this error
 * [03-Aug-2012 07:57:51 UTC] PHP Warning: explode() expects parameter 2 to be string,
   array given in /home/hakanera/public_html/wp-includes/functions.wp-scripts.php
   on line 135
 * This line is that ;
 * 134 line if ( $src ) {
    135 line $_handle = explode(‘?’, $handle); 136 line $
   wp_scripts->add( $_handle[0], $src, $deps, $ver ); 137 line if ( $in_footer )
   138 line $wp_scripts->add_data( $_handle[0], ‘group’, 1 ); 139 line }
 * Where is the error? What can I do.
 * Thank you For help.

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 9 months ago](https://wordpress.org/support/topic/functionswp-scriptsphp-error/#post-2940526)
 * Reinstall WP manually. Don’t worry, you’re just going to overwrite the core files,
   not your config 🙂
 * Grab a download and copy the files up.
 *  [santy143all](https://wordpress.org/support/users/santy143all/)
 * (@santy143all)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/functionswp-scriptsphp-error/#post-2940640)
 * wp means the whole wordpress
 *  [alturnwall](https://wordpress.org/support/users/alturnwall/)
 * (@alturnwall)
 * [13 years ago](https://wordpress.org/support/topic/functionswp-scriptsphp-error/#post-2940755)
 * I seem to be getting this same error and have manually re-installed WordPress
   from a fresh download. I’ve also disabled all of my plugins and still no luck.
 * The weird thing is this seems to have come out of nowhere—I hadn’t made any code
   changes to the site in a few days and all of a sudden somebody reported this 
   error.
 * Any thoughts?
 * Could this be an issue with the server config?
 * Edit: The site still isn’t “public”, but here’s a link to the test site…
 * [http://www.bywayswestmass.com/test/](http://www.bywayswestmass.com/test/)
 * Edit 2: Starting another thread for this [here](http://wordpress.org/support/topic/odd-warning-explode-message-from-functionswp-scriptsphp?replies=1#post-4232390)
   since it’s more of a troubleshooting topic.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years ago](https://wordpress.org/support/topic/functionswp-scriptsphp-error/#post-2940756)
 * Why are you using an old version WordPress?
 *  [alturnwall](https://wordpress.org/support/users/alturnwall/)
 * (@alturnwall)
 * [13 years ago](https://wordpress.org/support/topic/functionswp-scriptsphp-error/#post-2940757)
 * Hi esmi, I’m not—I have the most up to date, that’s also why I just started a
   new topic for this [here](http://wordpress.org/support/topic/odd-warning-explode-message-from-functionswp-scriptsphp?replies=1#post-4232390).
 * Apologies for the confusion.

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

The topic ‘functions.wp-scripts.php ERROR’ is closed to new replies.

## Tags

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

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 5 replies
 * 5 participants
 * Last reply from: [alturnwall](https://wordpress.org/support/users/alturnwall/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/functionswp-scriptsphp-error/#post-2940757)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
