• Hi there,

    The Add Media button stopped working altogether. WP3.5 ran perfectly until this morning, when I tried to upload an image to the main website. The button was unresponsive. I have one main site (it-enquirer.com) and 4 subsites/subdomains. The 4 subsites all work well — Add Media button functions OK.

    The main site error (logged on Safari; but shows in Firefox and Chrome as well) is this cryptic message: “SyntaxError: \u can only be followed by a Unicode character sequence.”

    I turned on the Script debug feature in wp-config.php and the error was gone as long as the debug statement was in this file. Removing re-introduced the error.

    I tried deactivating ALL plugins. No luck.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter erikvlie

    (@erikvlie)

    In Firefox, this is the error I get:

    Timestamp: 01/01/2013 12:09:10
    Error: SyntaxError: malformed Unicode character escape sequence
    Source File: https://it-enquirer.com/wp-admin/load-scripts.php,qc=1,aload,5B,5D=admin-bar,,hoverIntent,,common,,jquery-ui-core,,schedule,,wp-ajax-response,,autosave,,jquery-color,,wp-lists,,quicktags,,jquery-query,,admi,aload,5B,5D=n-comments,,suggest,,jquery-ui-widget,,jquery-ui-mouse,,jquery-ui-sortable,,postbox,,post,,thickbox,,underscore,,shortcode,,backbone,,media,aload,5B,5D=-models,,wp-plupload,,media-views,,media-editor,,jquery-ui-position,,jquery-ui-menu,,jquery-ui-autocomplete,,word-count,,editor,,jquery-u,aload,5B,5D=i-resizable,,jquery-ui-draggable,,jquery-ui-button,,jquery-ui-dialog,,wpdialogs,,wplink,,wpdialogs-popup,,wp-fullscreen,,media-upload,aver=3.5.pagespeed.jm.bN6_BwKIxX.js
    Line: 67, Column: 5
    Source Code:
    __p+='\n\undefined\undefined<style type="text/css" id="'+

    De-activating any plug-in seems to fix the problem until I reload the editor page and try again. And then activating any random plug-in results in the same strange behaviour…

    Thread Starter erikvlie

    (@erikvlie)

    The
    define('CONCATENATE_SCRIPTS', false );
    command seems to have fixed this problem.

    do you just put that in wp-config.php or something? did it fix it completely?

    Thread Starter erikvlie

    (@erikvlie)

    I put it right here — very close to the end of the file on my system:

    define('CONCATENATE_SCRIPTS', false );
    /** Absolute path to the WordPress directory. */

    For me, this solved it across all (sub)domains.

    Just to be clear: You insert this code into the wp-config.php file?

    Any update on this? I added the “CONCATENATE_SCRIPTS” line to my wp-config but bug remains.

    @nbuangan: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem – despite any similarity in symptoms – is likely to be completely different.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add Media button stopped working’ is closed to new replies.