Account created on 20 January 2020, over 5 years ago
#

Recent comments

A comment for @sd123: mine is working with "JS aggregation on", but sometimes in case of error the only workaround is to disable it (see here )

Ok. Now it works for me too!
But it worked only when, after applying #14, I also modified at_core.libraries.yml in order to use the standard version and not the minified version of those three javascripts.
Like this:

[...]

# Breakpoints
at.breakpoints:
  version: VERSION
  js:
    #scripts/min/at.breakpoints.min.js: { minified: true }
    scripts/min/matchMedia.min.js: { minified: true }
    scripts/min/matchMedia.addListener.min.js: { minified: true }
    scripts/at.breakpoints.js: {}

[...]

# Responsive Menus
at.responsivemenus:
  version: VERSION
  js:
    #scripts/min/at.responsiveMenus.min.js: { minified: true }
    scripts/min/matchMedia.min.js: { minified: true }
    scripts/min/matchMedia.addListener.min.js: { minified: true }
    scripts/at.responsiveMenus.js: {}

[...]

# AT Slideshow settings
at.slideshow_settings:
  version: VERSION
  js:
    #scripts/min/at.flexsliderSettings.min.js: { minified: true }
    scripts/at.flexsliderSettings.js: {}

[...]

So, probably for some reason the minified version is not equivalent (at least in my case).
Sorry, but I don't know how to create a patch.

Thank you electric.larry, but it didn't work for me too.
I tried both patches.
But at least my php errors decreased from 3 to 2.

Yes, same kind of error when using anonymous

js_2JgqE6kUMjTFgeB0GkUbHSTkMck6du2Uq8cNsaDYP10.js?scope=footer&delta=0...-VM8Q:22 Uncaught TypeError: Cannot read properties of undefined (reading 'theme')
    at Object.attach (js_fE8OE5f7_hWnFmvQEIqXIGJtl-8CIT3r9ZiZC5kNeGc.js?scope=footer&delta=2...-VM8Q:2:139)
    at js_2JgqE6kUMjTFgeB0GkUbHSTkMck6du2Uq8cNsaDYP10.js?scope=footer&delta=0...-VM8Q:22:427
    at Array.forEach (<anonymous>)
    at Object.attachBehaviors (js_2JgqE6kUMjTFgeB0GkUbHSTkMck6du2Uq8cNsaDYP10.js?scope=footer&delta=0...-VM8Q:22:353)
    at js_2JgqE6kUMjTFgeB0GkUbHSTkMck6du2Uq8cNsaDYP10.js?scope=footer&delta=0...-VM8Q:23:373
    at HTMLDocument.listener (js_2JgqE6kUMjTFgeB0GkUbHSTkMck6du2Uq8cNsaDYP10.js?scope=footer&delta=0...-VM8Q:23:161)

I don't get any error, neither in log nor using "verbose" mode, and the same happens after cache cleaning.

By the way I noticed that also the SLIDESHOW doesn't work for anonymous users, while it still works correctly for logged ones.

Production build 0.71.5 2024