Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author MihChe

    (@mihche)

    Hi,
    Could you please send me your site url? Let’s see why the variable is missing.

    Mihai

    Thread Starter coriannas

    (@coriannas)

    Thanks. The site is here.

    Plugin Author MihChe

    (@mihche)

    Please clear Autoptimize and CloudFlare cache.
    Let’s see,
    Mihai

    Thread Starter coriannas

    (@coriannas)

    Hm… Done, but the error is still there.

    Plugin Author MihChe

    (@mihche)

    Hi coriannas,
    Just contacted you through your website contact form

    Mihai

    Plugin Author MihChe

    (@mihche)

    Hi coriannas,
    As we discussed I’ll close this. The issue was caused by the Autoptimize plugin.
    Mihai

    Hi MihChe;
    What javascript did you exclude from JS autoptimization to fix this (for future reference)? ??

    frank

    Plugin Author MihChe

    (@mihche)

    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

    (@coriannas)

    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.