Title: Javascript error when pressing Accept
Last modified: September 8, 2022

---

# Javascript error when pressing Accept

 *  Resolved [redwiregareth](https://wordpress.org/support/users/redwiregareth/)
 * (@redwiregareth)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-when-pressing-accept/)
 * My client noticed that since updating from version 4.8.9 clicking the except 
   button produces the following JS error:
 * main.js?ver=4.8.12:1 Uncaught TypeError: Failed to construct ‘URL’: Invalid URL
   
   at c (main.js?ver=4.8.12:1:26508) at d (main.js?ver=4.8.12:1:25523) at HTMLButtonElement.
   <anonymous> (main.js?ver=4.8.12:2:23976) at HTMLDocument.dispatch (jquery.min.
   js?ver=3.6.0:2:43064) at v.handle (jquery.min.js?ver=3.6.0:2:41048)
 * Any help would be appreciated as we’re currently having to stick with version
   4.8.9

Viewing 1 replies (of 1 total)

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-when-pressing-accept/#post-15994060)
 * Hi [@redwiregareth](https://wordpress.org/support/users/redwiregareth/)
 * Thanks for using our plugins.
 * Can you please share the URL of the site?
 * We also recommend checking the basic troubleshooting tips, especially the console
   errors:
    [https://support.mooveagency.com/topic/basic-troubleshooting-tips/](https://support.mooveagency.com/topic/basic-troubleshooting-tips/)
 * Hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Javascript error when pressing Accept’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-when-pressing-accept/#post-15994060)
 * Status: resolved