The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
loading jquery twice - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: loading jquery twice (/showthread.php?tid=472)



loading jquery twice - rob.lindman - 02-20-2017

jquery is being loaded in the header and the footer of the page.

also it's an old version of jquery.

additionally, you can load jquery from cdn. and bootstrap css is loaded from cdn but bootstrap js is not.

just a heads up.


loading jquery twice - rob.lindman - 02-20-2017

also on the join form you are loading another instance of jquery


loading jquery twice - mudmin - 02-21-2017

Ok. I will clear this up. I'm going to load all 3 from the cdn. I have another bug to fix in the header as well.


loading jquery twice - mudmin - 02-21-2017

Here's a patch to fix the headers/footers. I'll deal with the other places it's being loaded once I'm sure that's not happening for compatibility reasons. In the mean time, this will load your js/bs with cdn and fix a bug in the header.

https://userspice.com/patch/421dto421e.zip


loading jquery twice - mudmin - 03-02-2017

One more patch...
Try updating to version 4.2.1g in https://userspice.com/updates/
and see if that fixes your jQuery errors