@dystyler – Thanks for your thorough description and sorry to hear that the quiz has stopped working for you. You are right that the issue is with the Uncaught TypeError: Object [object Object] has no method 'on' message.
This message is happening because it seems you’ve got an older version of jQuery (1.6.4) loading that doesn’t support the .on() method.
There are various reasons that your version of jQuery could have changed, perhaps by updating a different plugin. But you’ll need at least version 1.7 of jQuery for SlickQuiz to work.
Hope that helps get you a bit further in finding the problem!
I’ve updated JQuery installing the “jQuery Updater” plugin and still not working (now it’s not even showing the “Start” button) and it’s bringing the following 2 error messages on the Dev Console:
Uncaught TypeError: Cannot read property ‘msie’ of undefined
Uncaught TypeError: Object [object Object] has no method ‘colorbox’
Any idea of what should I try?
Many thanks, once again!
Cheers, Daniel.
Do you have a colorbox plugin installed? If so, make sure that is up to date, or try disabling it…
I don’t think I have any colorbox plugin. The only one that might be is the “A5 Custom Login Page” which I’ve already upgraded and disabled it with no success whatsoever (same error messages, still)…
Actually, under my theme, I’ve found around 4 files (like header.php, archive.php, page.php and single.php) that have statements such as the following ones:
===
<link rel=”stylesheet” href=”<?php bloginfo(‘template_directory’); ?>/js/colorbox/colorbox.css” type=”text/css” />
===
<?php wp_enqueue_script(‘jquery.colorbox’, get_bloginfo(‘template_directory’). ‘/js/colorbox/jquery.colorbox-min.js’); ?>
===
// Add colorbox to gallery
$(‘.gallery’).each(function(index, obj){
var galleryid = Math.floor(Math.random()*10000);
$(obj).find(‘a’).colorbox({rel:galleryid, maxWidth:’95%’, maxHeight:’95%’});
});
$(“a.lightbox”).colorbox({maxWidth:’95%’, maxHeight:’95%’});
===
Not sure what should I do…
Alright, looks like you’ll probably need to update the colorbox jquery plugin in your theme then.
Unless you’re ok with getting rid of colorbox entirely, in which case try removing those colorbox lines from the template.
Here’s their page for more info on what colorbox does: http://www.jacklmoore.com/colorbox/
And here’s where you can grab the most up to date version of their code if you want to keep it: https://github.com/jackmoore/colorbox
Hi Julie,
I’ve removed all the codes regarding the colorbox and, voilá, is working fine… (now, I have to check the whole website to make sure nothing got jammed… hahaha)… But at least, quiz is back!
Thanks a million for your prompt answer and help!!!
Cheers, Daniel.
Sweet! I wish I could tell you what changed to break things in the first place – something must’ve been updated, either the theme, or a plugin, or wordpress. Glad to hear you got it working though, and like I said, if you find that you still need the colorbox stuff, you should be able to replace the files in your theme with the newest version available on github.
Thanks for using SlickQuiz!