WordPress.org

Support

Support » Requests and Feedback » functions.wp-scripts.php ERROR

functions.wp-scripts.php 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)
  • 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
    Member

    @santy143all

    wp means the whole wordpress

    alturnwall
    Member

    @alturnwall

    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/

    Edit 2: Starting another thread for this here since it’s more of a troubleshooting topic.

    esmi
    Forum Moderator

    @esmi

    Why are you using an old version WordPress?

    alturnwall
    Member

    @alturnwall

    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.

    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.