Title: ReferenceError: Can&#039;t find variable: Gdbc
Last modified: August 31, 2016

---

# ReferenceError: Can't find variable: Gdbc

 *  Resolved [coriannas](https://wordpress.org/support/users/coriannas/)
 * (@coriannas)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/)
 * Just installed this on my site, and I’m getting the javascript error:
    ReferenceError:
   Can’t find variable: Gdbc (anonymous function)gdbc-public.js:1:85 (anonymous 
   function)gdbc-public.js:1:156
 * Any ideas how to fix this?
 * [https://wordpress.org/plugins/goodbye-captcha/](https://wordpress.org/plugins/goodbye-captcha/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [MihChe](https://wordpress.org/support/users/mihche/)
 * (@mihche)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7040932)
 * Hi,
    Could you please send me your site url? Let’s see why the variable is missing.
 * Mihai
 *  Thread Starter [coriannas](https://wordpress.org/support/users/coriannas/)
 * (@coriannas)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7040950)
 * Thanks. The site is [here](http://www.maine-websites.com).
 *  Plugin Author [MihChe](https://wordpress.org/support/users/mihche/)
 * (@mihche)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7040958)
 * Please clear Autoptimize and CloudFlare cache.
    Let’s see, Mihai
 *  Thread Starter [coriannas](https://wordpress.org/support/users/coriannas/)
 * (@coriannas)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7040976)
 * Hm… Done, but the error is still there.
 *  Plugin Author [MihChe](https://wordpress.org/support/users/mihche/)
 * (@mihche)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7040977)
 * Hi coriannas,
    Just contacted you through your website contact form
 * Mihai
 *  Plugin Author [MihChe](https://wordpress.org/support/users/mihche/)
 * (@mihche)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7041057)
 * Hi coriannas,
    As we discussed I’ll close this. The issue was caused by the Autoptimize
   plugin. Mihai
 *  [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7041061)
 * Hi MihChe;
    What javascript did you exclude from JS autoptimization to fix this(
   for future reference)? 🙂
 * frank
 *  Plugin Author [MihChe](https://wordpress.org/support/users/mihche/)
 * (@mihche)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7041062)
 * Hey Frank,
    This is driving me crazy! I have to look into this issue almost every
   2-3 days. The problem is that even if the scripts are excluded from JS autoptimization,
   if there are dependencies, you’ll get the errors. I am looking into your code
   and I’ll send you an email later
 * Cheers,
    Mihai
 *  Thread Starter [coriannas](https://wordpress.org/support/users/coriannas/)
 * (@coriannas)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7041067)
 * In my case, I can get rid of the error by adding both ‘wp-bruiser,jquery.js’ 
   to the “Exclude Scripts” list in Autoptimizer. It’s not ideal, since it likely
   slows the site down to some extent, but it doesn’t seem to be awful. In my case,
   it makes sense to load jQuery in the header anyway, since this is probably not
   the only plugin that will not work with it loading in the footer, and the speed
   hit I take isn’t too terrible. I will continue looking for other solutions, but
   in the meantime, I hope this helps someone else down the line

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘ReferenceError: Can't find variable: Gdbc’ is closed to new replies.

 * ![](https://ps.w.org/goodbye-captcha/assets/icon-256x256.png?rev=1356325)
 * [WPBruiser {no- Captcha anti-Spam}](https://wordpress.org/plugins/goodbye-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/goodbye-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/goodbye-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/goodbye-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/goodbye-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/goodbye-captcha/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [reference error](https://wordpress.org/support/topic-tag/reference-error/)

 * 9 replies
 * 3 participants
 * Last reply from: [coriannas](https://wordpress.org/support/users/coriannas/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/referenceerror-cant-find-variable-gdbc/#post-7041067)
 * Status: resolved