jQuery.Deferred exception: Selector must not be empty

Created on 5 November 2023, about 1 year ago
Updated 24 November 2023, about 1 year ago

Hello,
scrollup was working fine on Drupal 9.5.11. After i upgraded to Drupal 10.1.6 it's not working. I downloaded version 4.0-dev and applied Automated Drupal 10 compatibility fixes but on Chrome DevTools i get the following errors:

Problem/Motivation

jquery.min.js?v=3.7.0:2 jQuery.Deferred exception: Selector must not be empty TypeError: Selector must not be empty
    at i (https://www.xxxx.pl/core/assets/vendor/once/once.min.js?v=1.0.1:2:527)
    at a (https://www.xxxx.pl/core/assets/vendor/once/once.min.js?v=1.0.1:2:1034)
    at HTMLDocument.<anonymous> (https://www.xxxx.pl/modules/contrib/scrollup/js/scrollup_top.js?v=1.x:18:11)
    at e (https://www.xxxx.pl/core/assets/vendor/jquery/jquery.min.js?v=3.7.0:2:26990)
    at t (https://www.xxxx.pl/core/assets/vendor/jquery/jquery.min.js?v=3.7.0:2:27292) undefined
Uncaught TypeError: Selector must not be empty
    at i (once.js:151:11)
    at a (once.js:280:5)
    at HTMLDocument.<anonymous> (scrollup_top.js?v=1.x:18:11)
    at e (jquery.min.js?v=3.7.0:2:26990)
    at t (jquery.min.js?v=3.7.0:2:27292)

Steps to reproduce

Upgrade Drupal from 9.5 to 10.1.6. Manually download scroolup 4.0-dev and apply Automated Drupal 10 patch.

🐛 Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

🇵🇱Poland lordzik

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

Comments & Activities

Production build 0.71.5 2024