Ow I fix it… I was minifying jQuery with a gulp task, in a vendors file… I had to remove it from there and enqueue it on WordPress functions.php file, but this broke somethings I had wrote in my scripts before…
So I discovered that I have to deregister the WordPress jQuery… Weird, I didn’t knew about this.
Anyway this was my steps
1 – remove jQuery from my gulp minification task
2 – deregister WordPress jQuery by using this in functions file: wp_deregister_script(‘jquery’);
3 – import jQuery again in WordPress in functions file: wp_enqueue_script( ‘jquery’, ‘https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js’, array(), null, true);
Ooh that was so embarrassing… But it’s a fucking nice plugin to have!! love it so much!