• Resolved darrylyeo

    (@darrylyeo)


    I’m on the main options page for the AddToAny plugin. If I choose either “Large” or “Custom” for the Icon Size option, the icon previews in the Standalone Buttons area do not appear.

    I’m pretty sure a crucial script isn’t being called, because I found this in the JavaScript console:
    Uncaught ReferenceError: a2a is not defined (options-general.php?page=addtoany:1072)

    This occurs even after deactivating all other plugins and switching to the TwentySixteen theme. Any ideas?

    Update: for the scenarios I mentioned, the icons don’t appear on the front end as well. However, there is no JavaScript error.

    https://www.ads-software.com/plugins/add-to-any/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author micropat

    (@micropat)

    Good troubleshooting on the server side! Did you view the other (non-JavaScript) console messages in your browser?

    Since it doesn’t seem to be a server-side issue, it’s probably your web browser that is filtering out AddToAny’s page.js. For example, ad blockers sometimes optionally filter out other content such as social buttons/scripts, and so can Firefox’s Private Browsing mode.

    Thread Starter darrylyeo

    (@darrylyeo)

    That’s it! I whitelisted my site in my ad blocker settings and the icons reappeared again.

    Thanks for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JavaScript error; icons don't show up in options page’ is closed to new replies.