I updated everything a few hours ago (WP and SP) and I cannot create new topics or open the post tool window. I can edit posts though.
Is there any incompatibilities/issues with the latest version? Maybe javascript related?
I updated everything a few hours ago (WP and SP) and I cannot create new topics or open the post tool window. I can edit posts though.
Is there any incompatibilities/issues with the latest version? Maybe javascript related?
Hey Joan,
Are you referring to Barebones CSS Only?
The kind of incompatibility that a CSS Only theme resolves is more to do with loading PHP files as CSS which other themes do.
It sounds more like a JS conflict. Are you able to use the browser console to see if you’re getting any errors on the page?
I see no errors trying to create a post, but when I try to open the post tool box I see:
Uncaught TypeError: jQuery(…).dialog is not a function
This is the page where the forum is, just in case you need to see the source code
http://www.subnoise.es/foro/videos/
My guess is that something has been updated that’s now causing a problem. I am seeing at the very least a tooltip conflict although there are a few others.
You can test the tooltip fix for a start by opening:
wp-content > sp-resources > forum-themes > barebones-css-desktop > templates > spFunctions.php
At the very top of that document, the first code you will see is a statement defining tooltips, so try changing that to ‘False’ so it appears:
if (!defined('SP_TOOLTIPS')) define('SP_TOOLTIPS', false);
As to the rest, I couldn’t say. The conflicts could be coming from your WP theme or any active plugin that’s loading it’s own jquery library over the WP supplied jquery. For the most part these appear to be coming from a widget of some type. See here for more info.
You have a whole big list of conflicts. They start because something is loading the jQuery library from the google CDN – and if this is not bad enough – it is an old, incompatible version. This FAQ explains the problem(s) in detail.
https://simple-press.com/documentation/codex/faq/troubleshooting/what-is-this-jquery-conflict/
If all was working before the latest WP and SP update I would assume that perhaps you have updated or added something else – WP theme or another plugin – that is the culprit. Whatever it is it needs removing or fixing I am afraid. ANY plugin that utilises jQuery and expects the proper WordPress supplied version is going to have problems.
Looks like Ike and I posted at the same time, We are both correct…! But I would suggest the jQuery library gets sorted first,
I mean, it worked setting false to the line Ike told me.
As for the google library, do you mean this line? I’ve commented it
<script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js”></script>
It was working before I updated to the new WP and SP versions. No new plugins were added
I see where you have commented out one attempt to load it but it actually gets loaded a little further down the source…. It is loading version 1.8.1. Immediately after that the proper WP/SP version is loaded – which is 1.12.3. It is, I suppose, possible that because they are being loaded in that order then the proper WP version takes over as such. But it would be far better to get rid of it. It is sitting there like a time-bomb! And it is also getting loaded when not needed or desired.
I have this in my functions.php
function my_init() {
if (!is_admin()) {
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js’, false, ‘1.8.1’);
wp_enqueue_script(‘jquery’);
}
}
I’ve removed the first two lines and left just the wp_enqueue_script(‘jquery’);