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
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
jQuery not defined
#11
Try updating to version 4.2.1g in https://userspice.com/updates/
and see if that fixes your jQuery errors
  Reply
#12
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(){})
?
  Reply
#13
Ok. Thank you so much for your help on that one. I will check that out. There's always something to fix!
  Reply
#14
Glad I can help! Any update?
  Reply
#15
I have this on my list for the next update. Sorry. It got overlooked on the last bugfix.
  Reply
#16
Sorry for the delay. This is coming out today in 4.2.4
  Reply
#17
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?
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)