You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unclear what the cause of this error is - superfish seems to work fine and this error is only present on one particular page, not all pages using the same template.
jQuery.Deferred exception: jQuery(...).superfish is not a function @http://localhost:8888/general-discussion/ddd/:10:26
e@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:30310
Deferred/then/l/</t<@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:30612
setTimeout handler*Deferred/then/l/<@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:30821
c@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:28599
fireWith@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:29344
fire@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:29380
c@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:28599
fireWith@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:29344
ready@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:32317
$@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:32096
EventListener.handleEvent*@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:32465
@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:220
@http://localhost:8888/scripts/jquery-3.6.3/jquery.min.js:2:225
Uncaught TypeError: jQuery(...).superfish is not a function
<anonymous> http://localhost:8888/general-discussion/ddd/:10
jQuery 13
Have the same issue with a SMF theme that loads everything exactly as you've pointed out: first jQuery, then Superfish and then having another <script> tag that utilizes superfish() for a dropdown menu in the 'ready' function. Don't understand what's wrong.
The problem for me was that I had included two instances of jQuery on my page where this plugin is also included. One jQuery was included before the plugin initialization and another was included after the plugin initialization. When I moved the superfish plugin include and initialization lines after the second jQuery inclusion line it started working without problems. So you should check the page source of that page that gives you the error and see if you have multiple jQuery instances included on it.
I'm unclear what the cause of this error is - superfish seems to work fine and this error is only present on one particular page, not all pages using the same template.
HTML head code
The text was updated successfully, but these errors were encountered: