Uncaught ReferenceError: jQuery is not defined when slider is enabled

Created on 10 August 2022, over 2 years ago
Updated 7 September 2023, over 1 year ago

Problem/Motivation

I installed the them and enabled home page slider. But slider is not working and giving below error in console:
Uncaught ReferenceError: jQuery is not defined

jQuery(document).ready(function ($) {
$('.home-slider').owlCarousel({
items: 1,
loop: true,
autoplay: true,
nav: false,
dots: true,
autoplayTimeout: 5000,
});
});

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

10.0

Component

User interface

Created by

🇮🇳India dhruveshdtripathi

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.

  • Hi, the solution is working when you uninstall the admin extra tools but, do you plan to fix it permanently in future versions?
    Thank you very much.

  • Status changed to Active over 1 year ago
  • 🇺🇸United States matthewv789

    I notice that jQuery is included, but not until after the homepage slider code tries to call it. It's the very next line, but too late.

    Yes, it stopped working as soon as I logged in.

    It is also not a very helpful answer to tell people to disable another module, aside from as a temporary workaround. I am sure most people would rather disable Tara than disable Admin Toolbar Extra Tools, which is years older and far more popular. There are plenty of other good themes out there, but only one Admin Toolbar Extra Tools.

    It's also a bit annoying to see bug reports closed for a reason that doesn't seem very relevant. It's one thing to leave it open and say "I don't have time to work on this", but quite another to close as "outdated" when there is nothing outdated about the issue, since it appears to be still happening in the latest version.

  • Status changed to Fixed over 1 year ago
Production build 0.71.5 2024