Title: Uncaught RangeError: Maximum call stack size exceeded
Last modified: June 7, 2023

---

# Uncaught RangeError: Maximum call stack size exceeded

 *  Resolved [chillibyte](https://wordpress.org/support/users/chillibyte/)
 * (@chillibyte)
 * [3 years ago](https://wordpress.org/support/topic/uncaught-rangeerror-maximum-call-stack-size-exceeded-11/)
 * The plugin had previously been set up on a client website under a different ID(
   paid version) and was not connected to the new web app. I reset the plugin to
   use our agency ID and connected to the web app successfully.
 * So far, so good.
   Turned on the GCM support via the web app and now the banner
   doesn’t display and I get “Uncaught RangeError: Maximum call stack size exceeded”
   in the console when it gets to this call:
 *     ```wp-block-code
       try {
         i._ckyCreateElementBackup = document.createElement,
         document.createElement = function() {
       ```
   
 * Later on in the console, it reports a TypeError where ‘activeLaw’ is undefined.
 * I normally have no problems with this plugin but could do with some assistance
   in this instance!
 * Cheers
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-rangeerror-maximum-call-stack-size-exceeded-11%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [chillibyte](https://wordpress.org/support/users/chillibyte/)
 * (@chillibyte)
 * [3 years ago](https://wordpress.org/support/topic/uncaught-rangeerror-maximum-call-stack-size-exceeded-11/#post-16800906)
 * Turns out the official CookieYes GTM integration conflicts with the WP plugin.
   You need one or the other, not both.
   Disable the GTM integration and the plugin
   works.Disable the plugin and the GTM integration works.
 * Documentation could be clearer…

Viewing 1 replies (of 1 total)

The topic ‘Uncaught RangeError: Maximum call stack size exceeded’ is closed to new
replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [chillibyte](https://wordpress.org/support/users/chillibyte/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/uncaught-rangeerror-maximum-call-stack-size-exceeded-11/#post-16800906)
 * Status: resolved