ShareThis iFrame icons only show for authenticated, not anonymous users

Created on 1 July 2010, over 14 years ago
Updated 6 November 2023, about 1 year ago

Hi,

I'm new to Drupal (web intern for a non-profit), and we just implemented ShareThis today.

What I describe below is just out-of-the-box sharethis enabled for blog and newsstory content types:

Everything works/looks fine IF YOU ARE LOGGED IN TO DRUPAL....MOST OF THE TIME! If you go to the site http://www.nexusboston.org/blog as an anonymous user either

(1) the icons in the iframe don't show up

(2) the sharethis link doesn't call up any script

And sometimes, even if you are logged in, the icons will show up for a while then randomly stop appearing on hover.

I apologize if this is a novice question... but I am a novice currently.

Thanks!
-CF

🐛 Bug report
Status

Active

Version

3.0

Component

User interface

Created by

🇺🇸United States cfitz87

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India bharath-kondeti Hyderabad

    Re-opening this issue. This is still not working on D10 version of this module

  • 🇮🇳India bharath-kondeti Hyderabad

    Attaching the screenshot for reference, its not working for anonymous users.

  • 🇺🇸United States Chad Ketchum

    I'm also having the same issue suddenly in drupal 9.5.10 using version 3.0.2.

  • 🇮🇳India Madhu Kumar M E

    I'm also facing same issue on Drupal 8.9.x , attaching screenshot for the same.

  • 🇮🇳India Sivaprasad J

    I have the same issue of not loading the iframe properly on Drupal 10.1.6 ShareThis 3.0.2

  • 🇺🇦Ukraine ankondrat4 Lutsk

    Hello.
    I have the same issue. As I see in Firefox icons rendering as well for authenticated, but for anonymous users this button is absent.
    In Chrome I see button for anonymous users, but it has crashed JS and rendering as on screenshots before...

    Uncaught TypeError: Cannot read properties of null (reading 'product')
        at setGlobals (st.3b9f3f69dc50facea4e7ccac2c236448.js:3012:71)
        at addToOptions (st.3b9f3f69dc50facea4e7ccac2c236448.js:2849:2)
        at Object.data (st.3b9f3f69dc50facea4e7ccac2c236448.js:2669:4)
        at eval (eval at checkFragment (st.3b9f3f69dc50facea4e7ccac2c236448.js:2642:20), <anonymous>:3:14)
        at Object.checkFragment (st.3b9f3f69dc50facea4e7ccac2c236448.js:2643:5)
        at st.3b9f3f69dc50facea4e7ccac2c236448.js:2584:15
        at st.3b9f3f69dc50facea4e7ccac2c236448.js:2418:6
    
  • 🇻🇳Vietnam hoanglv

    The same problem on my server. It working with http but https is not.

  • I'm also getting the Uncaught TypeError notice, but my icons all seem to be working for all roles.

  • Status changed to Closed: duplicate 3 months ago
  • 🇨🇦Canada megan_m

    I'm going to close this and create a new issue for the Uncaught TypeError error. Surely this is not the same thing as something that was happening 14 years ago in Drupal 6! Maybe a new issue will help to get this addressed.

    https://www.drupal.org/project/sharethis/issues/3477131 🐛 Share and Email buttons not working in Chrome Active

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
Production build 0.71.5 2024