• Resolved Web Surfer

    (@arufasari)


    Hi, I recently started seeing this error in the browser console with Elementor installed/enabled: elementor.saver.on is hard deprecated since 2.9.0 – Use $e.hooks instead

    It seems this file in the SEO Rank Math plugin is the culprit. It is this code here:

    elementor.saver.on("before:save",this.savePost),elementor.saver.on("before:save",this.saveRedirection),elementor.saver.on("before:save",this.saveSchemas)

    I think something like this might be what you would want to replace it with:

    $e.hooks.registerData(‘document/save/save’, { callback: (args) => { // Call the savePost, saveRedirection and saveSchemas functions this.savePost(); this.saveRedirection(); this.saveSchemas(); } });

    Hopefully, this can be resolved easily! Thanks for reading!

Viewing 1 replies (of 1 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @arufasari,

    Thank you for your patience.

    Please update Rank Math & all other plugins, themes, and WordPress to the latest version.

    The issue should be fixed.

    If not, please feel free to open a support topic or reply to this message and we will be more than happy to assist.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting error in console in Elementor editor: `elementor.saver.on` is hard depre’ is closed to new replies.