• Register
0 votes
366 views

Problem :

I am very new to Wordpress. I am facing below error if I look into my fire bug console.

“Uncaught typeerror: jquery.easing[jquery.easing.def] is not a function”

Currently I am trying to create the slider on wordpress. I am currently working on my localhost. My slider works when it is in html file and outside of wordpress. But if it is in wordpress then it gives me above error.

Can a beginner like me fix above error?

8 4 2
2,300 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I have faced this error in the past. To fix it there are multiple options just check which one suits to your code.

In your inspect element where you have encountered the error is printed you need to just hover with your mouse on your filename and it will give you the complete path of file.

After doing this just open your Jquery easing plugin file and simply wrap the code inside as shown below:

$(document).ready(function() {
  Your Code goes here...
});

You should also check  if you are loading the jQuery more than once. If by mistake you have inserted in your footer manually then just try removing it.

If you are importing a jQuery easing plugin or it is higher than 1.7.2 then you must remove that and simply use below code:

<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.js"></script>

Hope it fixes your issue.

5 2 1
4,980 points

Related questions

0 votes
1 answer 9 views
9 views
Problem: Hi all I make the easing effect for the notification bar in my WordPress Site but whenever i click the button i get the error as TypeError. TypeError: v.easing[this.easing] is not a function Any suggestion would be great
asked Apr 11 ummesalma 29.2k points
0 votes
1 answer 5 views
5 views
Problem: Please help me out! Why am i gettin uncaught typeerror: r.easing[this.easing] is not a function?
asked Apr 7 Sana8989 8.9k points
0 votes
1 answer 6 views
6 views
Problem: I try to make work my date picker javascript but I am getting the error. Any suggestions?
asked Mar 16 ummesalma 29.2k points
0 votes
1 answer 9 views
9 views
Problem: Uncaught TypeError: a.indexOf is not a function&rdquo; error when opening new foundation project
asked Mar 16 ummesalma 29.2k points
0 votes
1 answer 36 views
36 views
Problem: uncaught typeerror: $(...).datetimepicker is not a function
asked Feb 18 Ethan ross 2.7k points
0 votes
1 answer 123 views
123 views
Problem: I am having a problem in learning languages so I am a bit confused about using this code and want to know when the form is submitted and if the validation trigger is true, then the display fails in form.submit (); submitHandler: function(form) { debug: true, ... <input type="submit" name="submit" class="btn green" value="Save &amp; Print" formtarget="_blank" id="spSlip"/> </form>
asked Nov 12, 2020 sasha 16.2k points
1 vote
1 answer 12 views
12 views
Problem : I have all the scripts connected, e.g. jquery.js and bootstrap.js before calling the script.js where I have the carousel function.I have the code working just fine in the website but when I moved to web app I'm getting that error : TypeError: jQuery(&hellip;).find(&hellip;).carousel is not a function Any ideas! How to fix this error ?
asked Apr 17 Sabbir Hossain 14.6k points
1 vote
1 answer 7 views
7 views
Problem: Any solution to this error? Wordpress uncaught referenceerror: jquery is not defined.
asked Apr 26 PkGuy 23.5k points
0 votes
1 answer 7 views
7 views
Problem: i need some help about this problem please help? uncaught reference error jquery is not defined
asked Mar 21 Rohit kr 17.5k points
1 vote
1 answer 57 views
57 views
Problem : I am new in JQuery (Ajax ) and I've just try to recall a service rest on another project on eclipse but it seem doesn't work.It throw this Error : Uncaught ReferenceError: $ is not defined Can someone please help fix this,Thanks !
asked Mar 5 Sabbir Hossain 14.6k points