Support Forum

"javascript:void(null)" Error

28 Answers

New Answer

MP Mr Papa
Mr Papa
Member

you still appear to be minifying js….  cant do that to our js… for some reason the w3tc min stuff chokes on sp js because its already delivered minified…  maybe…  hard to tell…

but getting lots of js errors on forum pages…

another thing you might try is going to forum – toolbox – housekeeping and clearing the combined js cache…

I cannot do it because the credentials  you sent are not an sp admin… you could add them on forum – admins – manage admins…

MP Mr Papa
Mr Papa
Member

still seeing js errors on the site….  not sure where they are coming from…  perhaps the chat plugin running and utilizing bunch of resources??  cant tell for sure no minifyingor

the prevailing js error has something to do with the pretty checkboxes in the forum… I assume this worked before?

since you are running your own theme, try adding this to your spFunctions.php file of your sp theme…

define(‘SP_USE_PRETTY_CBOX’, false);

and see if that helps…

if not, then time to start narrowing it down…  first, do a temp switch to the default wp theme… any better?  if not, then disable all other wp plugins and try again…  better?  if so, enable plugins one by one until it breaks.. then we at least know the conflict…

ST Stephen
Stephen
Member

Everything was fine before the last update. Now, the buttons work for some members but not others.

The “define(‘SP_USE_PRETTY_CBOX’, false);” code didn’t work (assuming I put it in the right place).

I think I’ll just get someone on elance to look at it for me, I have no idea about all this stuff.

MP Mr Papa
Mr Papa
Member

working for some members and not others still sounds like caching…

did you run threw the tests I recommended?

unfortunately, sometimes when wp is updated, not all wp plugins and themes are tested/updated to work with it…

ST Stephen
Stephen
Member

I have added your login to SP admin. I’m not a technical person at all so I’m struggling to understand a lot of what is going on. I understand what caching is and was told to add the W3 Total Cache plugin to speed up the site, but as for configuring it… no clue.

MP Mr Papa
Mr Papa
Member

misconfigured caching plugins can actually make site response worse… and w3tc has a lot of configuration options and really gets the most bang when  you are using a server side opcode caching set up (ie memcached, apc, etc)…

so lets try to get to the bottom…

for now, why not just disable the caching plugin?  lets just get it out of the way and/or rule it out…  with it at least temporarily disabled, we can more easily see what is going on…  and maybe it even starts working…

MP Mr Papa
Mr Papa
Member

please leave it off…  give us a chance to go investigate further with it off…  thanks…

MP Mr Papa
Mr Papa
Member

I added the

define(‘SP_USE_PRETTY_CBOX’, false);

and its working now…  the pretty checkboxes mus be clashing with other js on  your site…

another thing… please see:  https://simple-press.com/documentation/codex/installation/changes/theme-and-templates-5-5-3/

as  you are using a custom theme and will need to make a few minor css adjustments for this version…

ST Stephen
Stephen
Member

Thanks very much for your help, I’ll find someone to do the CSS for me.

MP Mr Papa
Mr Papa
Member

sounds good…  we do have custom theme service too if you get stuck…

ST Stephen
Stephen
Member

I probably will! Thanks again for your help, I’ll take a look at the custom themes.