Support Forum
The 'view new posts" button isn't working and wnah I hover over it, the message "Javascript:void (0)" appears at the foot of the screen. The pop-up admin menu for posts is also not working and i can't reply to posts
When I click on "Inspect element" in Chrome, I see this message:
* Uncaught TypeError: Cannot read property 'split' of undefined .................................................www.flat-chat.com.au/wp-content/sp-resources/forum-cache/sp-plugin-scripts-footer.js?ver=448:26
* Uncaught TypeError: undefined is not a function ................................... http://www.flat-chat.com.au/:2860
! Invalid App Id: Must be a number or numeric string representing the application id.
! FB.init has already been called - this could indicate a problem
! Invalid App Id: Must be a number or numeric string representing the application id.
Uncaught ReferenceError: spjOpenEditor is not defined
Now, I think I may have done something when I ran and anti-malware progam the other night and it "fixed" a lot of files in my system.
But what is the problem and is it easily fixable?
It's hard to say exactly what the problem is but clearly you have some JavaScript installed - either from your WP theme or from another plugin - that is forcing the jQuery script to stop processing so anything after the conflct just doesn't work.
It might be something as is discussed here - https://simple-press.com/docum.....-conflict/ - but is just as likely to be a bad script that doesn't properly use the WordPress standards. Look at this article and see if the condition on there exists. Otherwise you may have to just briefly try with a standard (default) WP theme or by deactivating plugins one at a time to try and find the source of the conflict. Hopefully be something simple.
The 'void' status by the way is as it should be.
YELLOW
SWORDFISH
|
You can copy the plugin code files back in from a fresh copy. You wont be able to 're-install' as such without losing all of your current data.
But the chances that you have a corruption in an SP file is extremely remote and slim and of there were it is unlikely to cause the symptoms you have described.
You can give me a link to your forum page so I can look at it for you - doesn't mean I can find the culprit but worth looking at...
YELLOW
SWORDFISH
|
It definitely seems to be a jQuery issue. I shut down all the plugins (apart from SP, itself, obviously) and it had the same result.
The error message in the "Inspect Element' window says:
Uncaught TypeError: Cannot read property 'split' of undefined sp-plugin-scripts-footer.js?ver=511:4
Uncaught TypeError: undefined is not a function (index):2482
I attach the problem file as a pdf - maybe you can see something there that can be fixed.
Attachment? And if there WERE an attachment what file are you actually talking about?
I see from the paste that you seem to be caching the javascript into a single file. Generally a good idea but perhaps not so helpful when needing to troubleshoot. I would suggest you turn that off until the problem is sorted (forum admin > options > combine and cache scripts...
And I will ask again for a link to your forum page? It is often much easier to take a look.
YELLOW
SWORDFISH
|
Well, I thought there was an attachment when it left here because I had to convert a js file into a pdf due to the restrictions on the kind of files we can send. Anyway, I've loaded it again.
The url is http://www.flat-chat.com.au/forum. Our messages crossed over so I didn't get your original request for it.
I have been using the "Inspect Element" option in Chrome.
I have switched off the js and css cacheing (didn't even know they were on) but I'm going to reactivate some of the plugins so you can see how it works (or doesn't).
First thing...
Can you go to the forum admin > Options > General Settings
Make sure 'Use auto update' is turned OFF and also make sure you Update the form with the button at the bottom. Does that make any difference?
And if it does not would you be able to add a constant to your wp-config.php file as a temporary measure?
define('SP_SCRIPTS_DEBUG', true);
which might help with the analysis.
And no - leave the script cache turned off until this is resolved...
YELLOW
SWORDFISH
|
1 Guest(s)