Support Forum

"javascript:void(null)" Error

ST Stephen
Stephen
Member

Since carrying out the recent upgrade I am unable to Add Topic, Add Reply, etc. When I click on one of the buttons I see the following message in the bottom left of my browser, “javascript:void(null)”.

I have a second WordPress site which is running the same theme, etc and that has no issues.

Any ideas?

28 Answers

New Answer

MP Mr Papa
Mr Papa
Member

that is NOT and error… please see:  https://simple-press.com/documentation/codex/faq/troubleshooting/i-am-seeing-javascriptvoidnull-for-a-browser-link/

please make sure you have cleared your browser cache since both wp and sp js changed in the release…

are all the sp plugins up to date?

what is shown in the browser console when you click?  any errors?

ST Stephen
Stephen
Member

I have cleared my browser cache and all plugins are up to date.

When I click, nothing at all happens. The button changes when the cursor is over it as usual, but clicking does nothing.

XD xDave
xDave
Member

Take a look at your WP Plugin Site pls. Which SP version is shown up there?

Perhaps you have the same error as me and some others, that WP does not show SP needs to be updated resp. only shows it on the WP Plugins list.

YS Yellow Swordfish
Yellow Swordfish
Member

That’s a possible.

Failing that do you know how to use the web console that comes with your browser because the next stage is to look for script conflicts using that.

ST Stephen
Stephen
Member

xDave said
Take a look at your WP Plugin Site pls. Which SP version is shown up there?

Perhaps you have the same error as me and some others, that WP does not show SP needs to be updated resp. only shows it on the WP Plugins list.

Version 5.5.3

ST Stephen
Stephen
Member

Yellow Swordfish said
That’s a possible.

Failing that do you know how to use the web console that comes with your browser because the next stage is to look for script conflicts using that.

I don’t know what that is, but I use Chrome if that’s any help.

MP Mr Papa
Mr Papa
Member

every browser has a console…

can you give us a link to your site and example?

ST Stephen
Stephen
Member

Mr Papa said
every browser has a console…

can you give us a link to your site and example?

It’s a membership site. I’ll PM you a login.

MP Mr Papa
Mr Papa
Member

please be sure to send to ike, yellow swordfish and myself…   link back to this topic so we know what its about…

ST Stephen
Stephen
Member

Mr Papa said
please be sure to send to ike, yellow swordfish and myself…   link back to this topic so we know what its about…

Done

MP Mr Papa
Mr Papa
Member

multiple issues…

seeing some js issues on pages…  worry about that if needed, later…

but more importantly, you are caching the forum page

<!– Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User is logged in)
Database Caching using disk (Request-wide User is logged in)

 Served from: www.goalprofits.com @ 2014-12-22 19:11:03 by W3 Total Cache –>

the forum is dynamic and cannot be cached – things wont work…  you must tell your caching plugin to disable caching, js minimizing, etc for the wp page the forum appears on…  those caching plugins dont know how to handle dynamic page content…

ST Stephen
Stephen
Member

I have no idea how to do any of that… I’ll consult Google later and see if I can teach myself something!

MP Mr Papa
Mr Papa
Member

in w3tc, for each caching type, they have an exclusion field… you need to add the wp page slug of the forum into that exclusion list…