MyBB Community Forums

Full Version: jquery error - Myalerts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: Sgw3nPH.png]


When i click on myalerts on the index page it send the error show above

thanks for reading,
have a nice day.
still looking for the solution, if u know how to fix it let me know.
Whats not working on said page? Says modal... Is that a popup of some sorts? Send forum link and test account.
It could be that the line:
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1821"></script>
is missing from your headerinclude template, or that it is included in that template before the main jquery script. Try adding (or moving) it just after this line in that template:
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1823"></script>
If that doesn't resolve the problem, it could be a permission error on that file. Check that you can browse without error to https://your-forum.tld/jscripts/jquery.plugins.min.js.
Try to add this in the head section:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
And let me know if this fixes your problem.