Support Forum
Hello, I have an issue with the plugin "File upload". When I activated it, I can not add topics. The consol error describes the problem:
Tue Apr 17 2012 4:50:22 p.m.
Error: spabupdate is not defined
Source file: https://simple-press.com/wp-co.....eta2-20460
Line: 1
Please, help me.
Franck
That's a pretty typical error you will get when jQuery has stopped working due to a prior issue, The usual reason is described here: http://codex.simple-press.com/.....-conflict/
l
If this is the root of the probem then it is usually pretty easy to fix.
YELLOW
SWORDFISH
|
Ouf, I have found. I inserted the following code in the file "function.php"
google_jquery function () {
if (! is_admin ()) {
wp_deregister_script ('jquery');
wp_register_script ('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js', false, '1 .5.2');
wp_enqueue_script ('jquery');
}
}
add_action ('init', 'google_jquery');
And it works. Fixed.
1 Guest(s)