Support » Plugin: Enable Media Replace » Cannot replace images with new version

  • Resolved jleung1994



    I’ve been updating the plugin and clearing the cache from the browser. However, I still have to downgrade back to 3.3.1 to replace images. The newer version doesn’t get picture I drag and drop (preview not showing), and upload button still disable.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Gerard Blanco


    Hi @jleung1994,

    Can you please remove the plugin completely (instead of downgrading or updating), install it and try again?

    If that doesn’t work, we would need a temporary admin access to your site. For this you can contact us here, and make sure to link to this conversation too.

    Thank you,

    Thread Starter jleung1994


    seems like the recent versions have conflict with my custom code

    I see “TypeError: is undefined” in browser console

    Thread Starter jleung1994


    I updated my theme functions.php

    add_action( 'admin_enqueue_scripts', 'add_admin_scripts' );
    function add_admin_scripts($hook)


    if ($hook != 'edit.php' && $hook != 'post.php' && $hook != 'post-new.php' && $post_type == 'product') {


    if (($hook != 'edit.php' && $hook != 'post.php' && $hook != 'post-new.php') && $post_type != 'product') {

    and seems to work properly now

    Plugin Author ShortPixel


    Thank you for sharing your solution to this, it may be helpful for others in the future! 🙂


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot replace images with new version’ is closed to new replies.