Support Forum

Javascript:void(null) issue for Add Topic, Reply

GP Gary Pickering
Gary Pickering
Member

I’ve tried disabling plugins and removing mod_security and the issue persists. When you hit ‘Add Topic’ or ‘Add Reply’ nothing happens. Some other buttons do this as well, such as ‘delete post.’ 

If I select a topic and then use the ‘Add Topic’ button, the javascript:void(null) isn’t there but no new topic screen appears.

Both of these are disabled:

Enable combining and caching of forum script (JS) files
 

Server is on php 5.4.42 and site is running WordPress 4.2.2.

Any ideas, we need to get this resolved.

Thanks.

5 Answers

New Answer

MP Mr Papa
Mr Papa
Member

regarding javascript:void, please see:  https://simple-press.com/documentation/codex/faq/troubleshooting/i-am-seeing-javascriptvoidnull-for-a-browser-link/

more than likely its related to this:  https://simple-press.com/documentation/codex/faq/troubleshooting/what-is-this-jquery-conflict/

if you give us a link, we can look for obvious conflicts…

GP Gary Pickering
Gary Pickering
Member

Thank you for that. The site is www.nucanoe.com/forum and that second link was helpful, in viewing the source and then downloading what the developer of this site created as a theme, I discovered a script hard coded into the footer (bxslider).  I removed the script and reloaded the page, but the issue persists. There’s also a bit of code loading jquery just for the forum page; I tried deleting that, viewing the source to make sure it was gone, and the issue is still there.

MP Mr Papa
Mr Papa
Member

you site is throwing many, many jquery errors (view in browser console)…

you still have a hardcoded of loading jquery ui from a 3rd party…

<script src=”//code.jquery.com/ui/1.10.3/jquery-ui.js” type=”text/javascript”></script>

this will potentially conflict with the version that comes with WP…  and of course would be completely untested with simple press (or other wp plugins)…  just much more better and standard to use the version that comes with wp…

GP Gary Pickering
Gary Pickering
Member

Hi Papa, Yes I’d noticed that hard-coding and think I mentioned it? I had tried disabling it and still have the problem. Today I disabled, re-enabled, and now it’s working… We’ll go for a redevelopment of the footer at some point, most likely. Thanks for your help.

IK Ike
Ike
Member

Thanks for letting us know, and hopefully you wont run into any further problems with it.