• Hello, today I noticed that the tab “Images” in the gallery configuration (either when you create a new one or edit a pre-existing one) is not being loaded and a weird error appears in the console:

    jquery.min.js?ver=3.6.0:2 Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'disable'
        at Function.error (jquery.min.js?ver=3.6.0:2:2616)
        at HTMLDivElement.<anonymous> (core.min.js?ver=1.13.1:116:2055)
        at Function.each (jquery.min.js?ver=3.6.0:2:3003)
        at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481)
        at s.fn.init.x.fn.<computed> [as sortable] (core.min.js?ver=1.13.1:116:1794)
        at admin-galleries.js?ver=2.3.4:36:264

    This means I can’t add nor remove images from a gallery (which is my main concern at the moment), and I can’t create a new one since I can’t populate it with images.

    This is how it appears under the “Images” tab: link

    I’ve installed the latest version of the plugin, I have WordPress 5.9.1 and I’m using the theme “Fluida” at version 1.8.7.1. I’ve never had any problem with this plugin before this last update.

    Hope you can help me. Thank you in advance for your support.

    • This topic was modified 2 years, 9 months ago by aoimotion.
    • This topic was modified 2 years, 9 months ago by aoimotion.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Getting the same error in the console and the image gallerie is not loading.

    Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'disable'
        at Function.error (load-scripts.php:2:2616)
        at HTMLDivElement.<anonymous> (load-scripts.php:122:2055)
        at Function.each (load-scripts.php:2:3003)
        at s.fn.init.each (load-scripts.php:2:1481)
        at s.fn.init.x.fn.<computed> [as sortable] (load-scripts.php:122:1794)
        at admin-galleries.js:689:16
    Plugin Author dFactory

    (@dfactory)

    Thanks for the feedback.

    Does the issue persist in just released version 2.3.5?

    Thread Starter aoimotion

    (@aoimotion)

    Hi dFactory, thank you for replying.

    I’ve updated the plugin, purged the site cache, opened it in incognito mode, but the error still persists to this day.

    Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'disable'
        at Function.error (jquery.min.js?ver=3.6.0:2:2616)
        at HTMLDivElement.<anonymous> (core.min.js?ver=1.13.1:116:2055)
        at Function.each (jquery.min.js?ver=3.6.0:2:3003)
        at s.fn.init.each (jquery.min.js?ver=3.6.0:2:1481)
        at s.fn.init.x.fn.<computed> [as sortable] (core.min.js?ver=1.13.1:116:1794)
        at admin-galleries.js?ver=2.3.5:689:16

    Hi dFactory,

    for me the issue persists in version 2.3.4 and 2.3.5 but not in 2.3.3

    Many thanks.

    Hello dFactory,
    I still get the same error on RL Gallery 2.3.5 on WP 5.9.3. The JavaScript Console says:

    Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'disable'
        jQuery 5
        observer https://abc/wp-content/plugins/responsive-lightbox/js/admin-galleries.js?ver=2.3.5:689
        setTimeout handler*initGalleries/observer</< https://abc/wp-content/plugins/responsive-lightbox/js/admin-galleries.js?ver=2.3.5:687
        dr Underscore
        observer https://abc/wp-content/plugins/responsive-lightbox/js/admin-galleries.js?ver=2.3.5:681
        initGalleries https://abc/wp-content/plugins/responsive-lightbox/js/admin-galleries.js?ver=2.3.5:680
        <anonymous> https://abc/wp-content/plugins/responsive-lightbox/js/admin-galleries.js?ver=2.3.5:18
    Plugin Author dFactory

    (@dfactory)

    Ok, we’ll try to replicate that and provide a fix. We just didn’t experience that in our installs.

    Hi, I had the same problem with missing images in the Images tab when I upgraded to 2.3.5. I have the Lightcase plugin and upgraded it to 1.3.1 – now the images have been restored.

    Hi, fyi: I’m not using any of the add-ons, just the plain rl_gallery WordPress plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Images tab in gallery configuration triggers jquery error, won’t appear’ is closed to new replies.