js error using autologout with Olivero theme

Created on 9 February 2022, over 2 years ago
Updated 2 October 2023, 11 months ago

I just started getting this error on a site using autologout and Olivero:

drupal.js?v=9.3.3:16 
        
       Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
    at Object.attach (autologout.js?v=9.3.3:225:19)
    at drupal.js?v=9.3.3:27:24
    at Array.forEach (<anonymous>)
    at Object.Drupal.attachBehaviors (drupal.js?v=9.3.3:24:34)
    at drupal.init.js?v=9.3.3:29:12

Unfortunately not sure when it started - the site is updated to 9.3.5.

πŸ› Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States W01F

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.

  • I'm also not getting that problem. And to the problem mentioned by @japerry, @DeaOm refactored most of the JS code to not use jQuery in ✨ Use Drupal.dialog call instead of jQuery dialog RTBC since that issue is also switching to Drupal dialog instead of jQuery dialog it was appropriate to make that change there. But that said it looks like we're stuck with jQuery for a bit longer.

Production build 0.71.5 2024