dudaster / ele-custom-skin

Create a skin for Elementor Pro Post and Post Archive widgets using Elementor templates
GNU General Public License v3.0
59 stars 10 forks source link

Uncaught ReferenceError: ECS_add_action is not defined #345

Open Dazman123 opened 4 years ago

Dazman123 commented 4 years ago

Hi,

Im starting to get this error and cannot work out why:

Uncaught ReferenceError: ECS_add_action is not defined at HTMLDocument. (ecs_ajax_pagination.js?ver=3.0.0:9) at i (jquery.js?ver=1.12.4-wp:1) at Object.add [as done] (jquery.js?ver=1.12.4-wp:1) at n.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:1) at ecs_ajax_pagination.js?ver=3.0.0:9

It also breaks a bunch of other stuff on the site, including the admin bar "Edit with Elementor" no longer appears. Site works fine if I disable ECS and I did not have this problem before. Have tried disabling other plugins as well as deleting and adding ECS back with no luck.

Running elementor 3.0.9 elementor pro 3.0.4 ECS 3.0.0

Much appreciated for the help.

dudaster commented 4 years ago

See if you have js minify plugin like autoptimize

Dazman123 commented 4 years ago

Hey, thanks for coming back to me.

I had Breeze, js minified and working fine. Switched to cloudflare CDN yesterday and disabled Breeze. This seems to be what broke the plugin.

I tried both disabling minifaction and completely disabling cache on cloudflare and its still giving me the same problem.

dudaster commented 4 years ago

can you provide an url?

gsusI commented 4 years ago

Is happening to me @dudaster, url: https://gtest.portfolio-collective.com/

gsusI commented 4 years ago

I do use autoptimize

dudaster commented 3 years ago

Try to set autoptimize to ignore ECS js files