Getting error in console in Elementor editor: `elementor.saver.on` is hard depre
-
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
insteadIt 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)
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.