Firefox: Uncaught ReferenceError: dBlazy is not defined

Created on 14 July 2022, almost 2 years ago
Updated 16 May 2023, about 1 year ago

Problem/Motivation

On Firefox dev admin panel I get the following js errors:
Uncaught ReferenceError: dBlazy is not defined
https://mysite/modules/contrib/blazy/js/blazy.compat.min.js?reyrtj:1
blazy.compat.min.js:1:1
https://mysite/modules/contrib/blazy/js/blazy.compat.min.js?reyrtj:1
Uncaught ReferenceError: dBlazy is not defined
https://mysite/modules/contrib/blazy/js/base/io/bio.ajax.min.js?reyrtj:1
bio.ajax.min.js:1:1

Blazy is installed in the html/libraries/blazy location

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Fixed

Version

2.13

Component

Miscellaneous

Created by

🇺🇸United States SocialNicheGuru

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.

  • 🇸🇰Slovakia lubwn

    I am running into the same problem. Not sure what triggers it yet. I have slick carousel on homepage as well and also ajax pager for some content so I guess one of those triggers it. But also apart from errors in the console everything seems to be working just fine.

  • 🇩🇪Germany Anybody Porta Westfalica

    In https://www.drupal.org/project/blazy/issues/3253012#comment-14951830 📌 Drupal 10 Fixed I'm suggesting to drop the old IE fallbacks for Drupal 10 (new blazy 3.x). That may mitigate the risk for such bugs perhaps?

    @lubwn is that Intersection Observer API (IO) settings Option to unload Blazy perhaps enabled in your project? (/admin/config/media/blazy)

  • 🇮🇩Indonesia gausarts

    Yes, please try #8, thanks, and also uninstall BigPipe for a mo, and clear cache!

    > Uncaught ReferenceError: dBlazy is not defined
    This JS error only happens when missing dependencies, or JS order is screwed up.

    Only one module can re-order JS so far, i.e. BigPipe. I tend to make it as the first scapegoat habitually, but I also realized that is not always the case about which I am sorry. There was a core issue about it nevertheless.

    For the missing part, check out your file existence or permissions, any 404 or 403, will cause this issue.

    Be sure to report back if you resolve it to benefit others.

  • Status changed to Fixed about 1 year ago
  • 🇮🇩Indonesia gausarts

    See #8.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024