Support Forum
Hi, Most buttons on site are not working - I believe it is a clash with the WP theme I am using, but don't know where the error lies. Any help here?
There are also the following errors in the Console:
Uncaught TypeError: a.widget is not a function
Uncaught TypeError: jspf(...).msDropDown is not a function
http://growgreatfruitprogram.com/forum/
Thx.
The first problem is indeed that your WordPress theme (and I am 99% sure it is the theme) IS loading a non-standard version of the jQuery Javascript library from the google CDN. Why they do this is beyond me when it can cause so many problems for well-behaved plugins that adhere to WordPress standards and the WP API.
To make it worse it is also loading a version that will disallow users of IE version 8 and below to make use of your site. Bear in mind that while these may not be great browsers there are still a large number of people using them!
There may - or may not - be another issue lurking underneath but this one is enough to cause the errors and should be fixed up first.
Personally, I would be asking the theme authors to correct this as they really should conform to standards,. If this is not possible then it is usually easy to fix but it does mean editing code and that code has to be found.
Assuming, of course, that there is not an option within the Wp theme custom settings to NOT load the library from Google. Some have done that bless them!
YELLOW
SWORDFISH
|
Oh this is really bad. Not only are they using a non-standard version of jQuery but they are not even calling in the right way. The WordPress team have been talking about trying to stamp this sort of thing out and just stopping execution when this sort of thing turns up but so far they have not actually done anything about it. I sure wish they would!
So - this is actually load with a script tag. That means you would not even get the latest version when it comes along.
File is 'header.php' in the templates folder. Line 47. Force loads jquery.min.js from the googlapis site. That needs to be removed. Don't lose it though. If things go wrong you may need to put it back until we find out what the problem is.
Then in the file spFunctions.php in the templates folder try adding the following on the line after the opening php tag at the top:
add_action( 'wp_enqueue_scripts', 'load_up_jquery' ); function load_up_jquery() { wp_enqueue_script( 'jquery' ); }
The it is time to see what you have! And hope that the theme authurs have not left anything else nasty sitting around.
YELLOW
SWORDFISH
|
hi @yellow-swordfish! this is happening to me as well.
add reply, add topic, quote and delete buttons not working - but edit and thanks button are fine.
im using the KLEO theme and i just updated.
here is my site --> http://brgyginebra.ph
1 Guest(s)