The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
jQuery not defined - 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: jQuery not defined (/showthread.php?tid=482)

Pages: 1 2


jQuery not defined - mudmin - 03-02-2017

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


jQuery not defined - aeh - 03-03-2017

Getting there!
  • No more undefined jQuery error
  • Same helper error
  • If terms not accepted:
    Code:
    Uncaught Error: Syntax error, unrecognized expression: #
    in join page
Noticed the
Code:
has-error
class in not being added to any of the culprit inputs. The password script works.. maybe the error scripts need to be wrapped in
Code:
$(function(){})
?


jQuery not defined - mudmin - 03-03-2017

Ok. Thank you so much for your help on that one. I will check that out. There's always something to fix!


jQuery not defined - aeh - 03-17-2017

Glad I can help! Any update?


jQuery not defined - mudmin - 03-19-2017

I have this on my list for the next update. Sorry. It got overlooked on the last bugfix.


jQuery not defined - mudmin - 04-16-2017

Sorry for the delay. This is coming out today in 4.2.4


jQuery not defined - JUG - 04-19-2017

I am experiencing similar error. It looks like that error message (registration fields) is causing this kind of error:
Code:
Uncaught ReferenceError: $jQuery is not defined

The error message looks like this:
<pre>
Code:
<ul class="bg-danger">
<li class="text-danger">Email must be a valid email address.</li>
<script>$jQuery("#Email must be a valid email address.").parent().closest("div").addClass("has-error");</script>
</ul>
</pre>


I believe that every occurance of $jQuery should be replaced just with $ sign.

I tried to locate these scripts with no success. I found similar messages in users/classes/Validate.php and in users/helpers/helpers.php and try to modify it, but the error message still occurs with $jQuery instead of just $.

Can you direct me to the files where that error messages are created?