• Resolved Christoph

    (@camthor)


    Hi,

    First of all many thanks for this great plugin – much better than other social sharing plugins I tested!

    On some of my pages I see a Javascript error in the console “ReferenceError: Clipboard is not defined”, from sassy-social-share-public.js:38:5 (in Firefox 56). This seems to cause other scripts to break. I disabled Javascript concatenation, but it didn’t help.

    Do you have any idea how to solve it?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Heateor Support

    (@heateor)

    Hi,

    Thanks for the appreciation ??
    It seems because of the Autoptimize plugin. Try disabling it just to check if it helps.

    Optimizing Matters

    (@optimizingmatters)

    pro-tip; in most cases you can disable Autoptimize for that request by adding ?ao_noptimize=1 to the URL.

    if the problem is indeed with autoptimization you can find info on how to troubleshoot in the FAQ.

    hope this helps,
    frank (ao dev)

    Thread Starter Christoph

    (@camthor)

    Thank you!

    The Javascript processing of Autoptimize was already turned off. I disabled the plugin now completely for testing, cleared the entire cache and disabled Cloudflare.

    So after lots of trying I found that the problem seems to be caused by a Mailchimp popup signup form, which loads its code from https://downloads.mailchimp.com/js/signup-forms/popup/embed.js. After removing that code, it all works even with Autoptimize.

    Maybe you can figure out why it is conflicting. For me the easiest solution is just to remove that Mailchimp code and display the form differently.

    Thanks again!

    Plugin Author Heateor Support

    (@heateor)

    Okay. Thanks for the info. We will look into it and see if something can be done in our plugin to prevent this.

    I have the same problem but don’t really want to disable the popup (I actually just added it).

    What I did was creating an exit intent popup in mailchimp and adding it to the site via the provided code which loads the mentioned embed.js

    So if you can have a look at it it would be very much appreciated. Something seems to conflict here.

    Thanks!

    Christian

    Plugin Author Heateor Support

    (@heateor)

    @mrtopf
    Hi Christian,

    Would you let us know which plugin/code are you using for that popup so that we could help you out?

    Well, I am not sure I can give you the full embed but I am pretty sure it’s the above mentioned embed.js which is the problem. I will try to make a test case though and report back.

    (https://downloads.mailchimp.com/js/signup-forms/popup/embed.js as <script>)

    Plugin Author Heateor Support

    (@heateor)

    @mrtopf
    Okay, we will look into it and keep you posted.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Clipboard is not defined’ is closed to new replies.