• Hello,

    As told I updated my WP to 3.9
    Since then, I can’t upload any files or change any url in his own page.

    I checked the error and it’s a JS error.
    Is there someone who can help me with this?
    ——–

    Uncaught TypeError: undefined is not a function post-edit.js?ver=3.1.4:105
    Deprecated TinyMCE API call: <target>.onBeforeSetContent.add(..) wp-tinymce.php?c=1&ver=4021-20140412:17
    2

    Uncaught TypeError: Cannot read property ‘hasClass’ of undefined load-scripts.php?c=1&load%5B%5D=thickbox,hoverIntent,common,admin-bar,jquery-color,wp-lists,quickta…:976

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thanks chaoskaizer,

    Your solution worked. Just hope when Themes developper will update their themes, they will add these lines to the scripts

    Thanks againt

    @chaoskaizer thank you!

    thanx @chaoskaizer it′s works for me too ??

    Cheers chaoskaizer, looks like a fine temporary fix for me! Let’s hope WPML will roll-out a update very soon.

    @chaoskaizer not working with me, i can’t understand the reason

    @chaoskaizer – your code fix worked great. One of my users updated the WP version before checking compatibility etc. and broke WPML/links generation /media generation from the visual view. I added in your code to the bottom of the themes function.php with a comment and like magic, you nailed it.

    Cheers,

    /* ------------------------------------------------------------------------ */
    /* WPML Fix 5/7/2014
    /* ------------------------------------------------------------------------ */
    function icl_load_jquery_ui() {
    	wp_enqueue_script( 'jquery-ui-dialog', false, array('jquery'), false, true );
    }
    
    add_action( 'admin_enqueue_scripts', 'icl_load_jquery_ui' );
    /* ------------------------------------------------------------------------ */
    /* EOF
    /* ------------------------------------------------------------------------ */

    WPML has updated their plugins for 3.9 compatibility now. Use the Installer plugin to automatically update your WPML plugins as described here.

    Very easy process.

    My problem has gone. Thank you sooooooooooooooooooooo much. May you live long. @chaoskaizer

    Hi all

    I have a similar problem.

    I just installed the wordpress 3.9 and when I add media nothing happens.

    WHen the window open, I select the image, I click on Insert to Post, but the midia is not inserted in the post.

    Please help me here, your response is highly appreciate..

    thanks

    I have the same problem, but adding these lines to the function.php files the problem hasn′t been solved :(.

    I have the next warning in debugging:

    Consider using ‘dppx’ units, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) post-new.php?post_type=page:35
    JQMIGRATE: Logging is active
    JQMIGRATE: jQuery is not compatible with Quirks Mode

    Thanks for the script

    function icl_load_jquery_ui() {
    wp_enqueue_script( ‘jquery-ui-dialog’, false, array(‘jquery’), false, true );
    }

    add_action( ‘admin_enqueue_scripts’, ‘icl_load_jquery_ui’ );

    It saved my life !!!!

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Update WP 3.9 – Can't add media’ is closed to new replies.