Support » Plugin: Imagify – Optimize your Images & Convert WebP » “Cannot read property ‘doAction’ of undefined”

  • Resolved sablednah

    (@sablednah)


    When I have Imagify enabled I get this console error in admin:

    Uncaught TypeError: Cannot read property ‘doAction’ of undefined

    In the file:
    /wp-admin/load-scripts.php?c=0&load%5B%5D=thickbox,hoverIntent,common,admin-bar,jquery-ui-position,wp-pointer,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,i&load%5B%5D=nline-edit-post,svg-painter,heartbeat,wp-auth-check,shortcode,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,jq&load%5B%5D=uery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,jquery-ui-progressbar&ver=5.2

    The error is actually in the core wordpress heartbeat.min.js file – so this is core wordpress code that’s failing due to Imagify being active. It started with the 7th may update.

    Its making all kinds of script based actions fail. Things like quick-view button orders, anything that hooks a JS event to an action basically.

    If I disable Imagify it all works. What do we need to do to fix? Will it be fixed in next release?

Viewing 1 replies (of 1 total)
  • Plugin Author WP Media

    (@wp_media)

    Hey @sablednah

    We are aware of this issue and will do our best to release the fix during the day.

    The problem is with reducing HeartBeat control with tools like WP Rocket, so at this very moment, the solution would be to stop reducing HeartBeat activity on the backend.

    The newest version will cover this, so I hope it will be released as soon as possible as we work on it.

    Best Regards

Viewing 1 replies (of 1 total)
  • The topic ‘“Cannot read property ‘doAction’ of undefined”’ is closed to new replies.