"Uncaught TypeError: self.$galleries.on is not a function"

Created on 26 April 2019, over 5 years ago
Updated 4 July 2024, 2 months ago

Using the current master branch of Elevatezoom-Plus, I'm getting no zoom on my (zoom-configured) image fields and the following javascript errors:

[jquery.ez-plus.js:73] Uncaught TypeError: self.$galleries.on is not a function
    at Object.init (jquery.ez-plus.js?pqki8u:73)
    at HTMLImageElement.<anonymous> (jquery.ez-plus.js?pqki8u:1945)
    at Function.each (jquery.js?v=1.4.4:34)
    at $.fn.init.each (jquery.js?v=1.4.4:27)
    at $.fn.init.$.fn.ezPlus (jquery.ez-plus.js?pqki8u:1942)
    at HTMLImageElement.<anonymous> (imagezoom.js?pqki8u:9)
    at Function.each (jquery.js?v=1.4.4:34)
    at $.fn.init.each (jquery.js?v=1.4.4:27)
    at $.fn.init.$.fn.once (jquery.once.js?v=1.2:55)
    at Object.attach (imagezoom.js?pqki8u:8)
[jquery.ez-plus.js:398] Uncaught TypeError: self.$elem.on is not a function
    at Object.startZoom (jquery.ez-plus.js?pqki8u:398)
    at Image.newImg.onload (jquery.ez-plus.js?pqki8u:132)

The same behaviour was reported a couple of years ago on #2803067: Change library (elevatezoom is abandoned) β†’ , though only for the -dev branch (the stable release was fine at the time).

I do have Commerce enabled on this site, same as @TuWebO did, but the behaviour is not limited to commerce product fields - a regular image field on a regular content item also produces these errors.

πŸ› Bug report
Status

Closed: outdated

Version

2.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom kingandy

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.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024