TypeError: 'undefined' is not a function
-
When attempting to use a quiz on a page, I receive the following error:
[Error] TypeError: ‘undefined’ is not a function (evaluating ‘$(‘#wpProQuiz_1′).wpProQuizFront’)
(anonymous function) (quiz1, line 546)
fire (jquery-1.9.1.js, line 1037)
fireWith (jquery-1.9.1.js, line 1148)
ready (jquery-1.9.1.js, line 433)
completed (jquery-1.9.1.js, line 103)line 546 starts the plugin script :
$(‘#wpProQuiz_1’).wpProQuizFront({
The plugin works correctly on another site with the same plugins but a different theme. Preview also works correctly, just not the page embed. The theme loads JQuery in the header as follows:
<link rel=”stylesheet” href=”https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css” />
<script src=”https://code.jquery.com/jquery-1.9.1.js”></script>
<script src=”https://code.jquery.com/ui/1.10.3/jquery-ui.js”></script>
- The topic ‘TypeError: 'undefined' is not a function’ is closed to new replies.