• Register
0 votes

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

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 19 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 sasha 2.2k points
0 votes
1 answer 36 views
Problem: I have very recently installed Angular-Messages on my Ionic V1 App but because of below error I am unable to make it work. Please find below the error related to Angular: "Uncaught TypeError: l.module(...).info is not a function at angular-messages.js:267 at angular-messages.js:6. ... .6.4",     "angular-messages": "~1.6.4" } But I am still facing the same angular error. How can I fix it?
asked Aug 6 Raphael Pacheco 4.9k points
0 votes
1 answer 20 views
Problem Hi, I am trying to set a cookie using jQuery: $.cookie("testCookie", "hello"); alert($.cookie("testCookie")); But when I load my page, I receive the error "$.cookie is not a function". have looked at several other answers in which most people suggested renaming ... results are the same. Any ideas on what is going on here? If it helps, I am creating a web application in MVC 4. Please help
asked Oct 29 hashq 1.1k points
0 votes
1 answer 821 views
Problem : I am very new to Bootstrap. I always wanted to work on bootstrap so now I want to use Bootstrap to make my interface for my program. I also added jQuery 1.11.0 to a <head> tag and thought that I can work with it, but when I tried to launch my web page ... I have tried with the copies hosted on many CDNs, but I am unable to get it to work. Can someone point out which step I am missing?
asked Jan 27 jwilliam 3.9k points
0 votes
1 answer 2.1K views
Problem : I am trying to execute bootstrap jquery code but getting below error uncaught error: bootstrap's javascript requires jquery at bootstrap.min.js:6
asked Oct 22, 2019 peterlaw 6.9k points