Zen Cart Logo
Forums / Addon Templates / Uncaught TypeError: $ (...). EasySlider is not a function

Uncaught TypeError: $ (...). EasySlider is not a function

Views: 1,512

Results 1 to 3 of 3
16 Apr 2017, 5:42 PM
#1
boqn_2007 avatar

boqn_2007

New Zenner

Join Date:
Apr 2017
Posts:
1
Plugin Contributions:
0

Uncaught TypeError: $ (...). EasySlider is not a function

Hi, I have a problem with a zen-cart site that need to do change the home page, something broke and I could not recover it, I made backup from two days before requiring hosting. No changes were made or publications these days, but then found jquery-1.4.4.min.js found that file on the Internet, put it but now gives me an error:

Uncaught TypeError: $ (...). EasySlider is not a function
########at HTMLDocument. <anonymous> (index.php? main_page = document_general_info & cPath = 10 & products_id = 13: 677)
########at Function.ready (jquery-1.4.4.min.js: 29)
########at HTMLDocument.u (jquery-1.4.4.min.js: 37)

Please if anyone can advise me how to fix it because a lot of slow loading pages in this way.

16 Apr 2017, 6:51 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Uncaught TypeError: $ (...). EasySlider is not a function

Keep in mind that in most cases of "restoring" files, that the process does not remove files that had been added since the backup was made. There could be something still loaded that was not present before.

16 Apr 2017, 11:39 PM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Uncaught TypeError: $ (...). EasySlider is not a function

Your version of jQuery is really quite old. Suggest downloading a newer version from the source.

https://code.jquery.com/jquery/

jQuery 1.12.1 and jQuery Migrate 1.4.1

Always use jQuery Migrate 1.4.1 with any 1.x version of jQuery. It helps in so many ways.

If v1.12.1 doesn't make things work for you then downgrade to next sub-version: 1.11.x and keep doing so until all your jQuery scripts work.