• Resolved Eric Karkovack

    (@karks88)


    Hi, I’m using the floating bar on a site and have run into some issues after updating to WordPress 6.6.1 (we skipped 6.6 waiting for bugs to be fixed).

    The bar no longer loads and I see the following in the console:

    Uncaught TypeError: o.body is null
    m https://static.addtoany.com/menu/page.js:1
    h https://static.addtoany.com/menu/page.js:1
    https://static.addtoany.com/menu/page.js:1
    https://static.addtoany.com/menu/page.js:1

    Do you know what might be causing this?

    EDIT: If I perform a hard refresh on the page, the bar does appear. But it doesn’t load consistently.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Eric Karkovack

    (@karks88)

    I’m wondering if this is some sort of cache issue. The hard refresh (SHIFT + F5) fixes it temporarily. Maybe we’re getting a mix of old and new code since the 6.6.1 update?

    Plugin Author micropat

    (@micropat)

    Thank you for the reports @karks88

    This is resolved in the latest plugin update (just released — version 1.8.11).

    The issue stemmed from AddToAny pre-loading ahead of the WordPress Interactivity API (especially when the script is cached), so AddToAny loading is deferred now (and still just as fast and non-blocking).

    Thread Starter Eric Karkovack

    (@karks88)

    Thanks @micropat, I’ll give this a try!

    Thread Starter Eric Karkovack

    (@karks88)

    Looks like this resolved the issue. Thanks so much for the quick fix, @micropat!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.