Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi,

    I had the same ‘moove_frontend_gdpr_scripts is not defined’ error and found this page. I was using WP Rocket so removed the main.js script from caching but didn’t work. Even deactivating WP Rocket completely.

    I managed to find the issue : it was related to the enqueue of jquery in my template. I had to change it and wasn’t using the proper way to do so. So for the GDPR plugin on line 501 of the class-moove-gdpr-actions.php file the code
    wp_enqueue_script( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/main.js', array( 'jquery' ), MOOVE_GDPR_VERSION, true ); couldn’t call the jquery file properly.

    I changed it to wp_enqueue_script( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/main.js', array(), MOOVE_GDPR_VERSION, true ); and now everything works fine. I know it’s not the right way but it may help people to find the issue !

Viewing 1 replies (of 1 total)