JQuery.fn.live deprecated


Author Message
Paolo

Posted: 9/1/2020
Quote message 

Hi Kelly,

Technically it is not a PHP Error but just a Warning, which is more important than a Notice but still it does not stop code execution.

My suggestion is therefore to ignore it.

Unfortunately, Artisteer templates are outdated and the latest WP release created problems on a huge quantity of websites which at present can be fixed using the mentioned plugin.

I don't see many chances to fix the code in order to remove the Warning.

Paolo
 
Kelly Normand

Posted: 9/2/2020
Quote message 

Does anyone have a fix for the general error:

jQuery Migrate Helper — Warnings encountered
This page generated the following warnings:
1. jQuery.fn.live() is deprecated
Please make sure you are using the latest version of all of your plugins, and your theme. If you are, you may want to ask the developers of the code mentioned in the warnings for an update.

I've been doing a bunch of digging and it seems like Artisteer and Extensoft are out of business. Their phone numbers are no longer working.

I'm a little freaked out that I may need to redesign 68 websites that I created with Artisteer over the last several years.

Does anyone have any glimmer of hope that this error can be fixed somehow?

Is there a way to upgrade the JQuery within the theme?

Please help.
 
Scott N

Posted: 9/9/2020
Quote message 

Let's hope that someone with some coding experience can assist us with changes we can make to our themes to help with this warning.
 
carrie

Posted: 9/10/2020
Quote message 

has anyone found an answer to this? I'm having a heckuva time with this!

Quote Kelly Normand:

CMS used: Wordpress

Version: 4.3.0.60745 Standard Edition

I have been using Artisteer to create my WordPress themes for several years now. I have about 88 sites I have created. This was great until I upgraded to WP 5.5 over the weekend. I also use Page Builder by SiteOrigin, which I also have been using for years. As of the upgrade to WP 5.5 the Page Builder stopped working. After much testing, it was determined that it was the theme that was causing this. I was advised to install the Enable jQuery Migrate Helper plugin. This fixed the problem and the Page Builder is now working again.

All pages now show this error message at the top:

jQuery Migrate Helper — Warnings encountered
This page generated the following warnings:
1. jQuery.fn.live() is deprecated
Please make sure you are using the latest version of all of your plugins, and your theme. If you are, you may want to ask the developers of the code mentioned in the warnings for an update.

Here is the issue the" plugin serves as a temporary solution, enabling the migration script for your site to give your plugin and theme authors some more time to update, and test, their code." -- that info taken from the plugin site.

So what it did was fix it, but show me that the problem is caused by Artisteer using jQuery.live -- which as been depreciated.

How do I fix this in all of my themes?
it, but show me that the problem is caused by Artisteer using jQuery.live -- which as been depreciated.

How do I fix this in all of my themes?



 
NICOLAS

Posted: 9/13/2020
Quote message 

Hello !

Same problem with my artisteer theme.
I hope someone find a quickly solution ...

Have a nice day ;-)
 
Ron Richardson

Posted: 9/19/2020
Quote message 

In file: library > admins.php

Find three instances of ".live" and replace with ".on".

Good luck!
 
intcon

Posted: 9/20/2020
Quote message 

thank you ron, thank you!!! omg it works. thank you!!!! :-) :-{} :-D
 
intcon

Posted: 9/20/2020
Quote message 

clarified....lol...sorry, i was so excited. works spectacularly on one site, on the other I still can't add media/image to a post.

but it's a start!
 
Ron Richardson

Posted: 9/21/2020
Quote message 

Quote intcon:

clarified....lol...sorry, i was so excited. works spectacularly on one site, on the other I still can't add media/image to a post.

but it's a start!


Check Chrome > Inspect for clues...
 
intcon

Posted: 9/21/2020
Quote message 

this is under chrome>tools>developer tools>console
check-required.js?ver=5.5.1:1 Uncaught ReferenceError: jQuery is not defined
at check-required.js?ver=5.5.1:1
tt-meta-slide.js?ver=5.5.1:10 Uncaught ReferenceError: jQuery is not defined
at tt-meta-slide.js?ver=5.5.1:10
post.php?post=1405&action=edit:1707 Uncaught TypeError: $(...).live is not a function
at HTMLDocument.<anonymous> (post.php?post=1405&action=edit:1707)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
3wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined
at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
at Object.trigger (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
at Function.each (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
at i (jquery.js?ver=1.12.4-wp:2)
DevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/iframe_handler.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
DevTools failed to load SourceMap: Could not load content for chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/sourceMap/chrome/content.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined
at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
at Object.trigger (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
at Function.each (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
at i (jquery.js?ver=1.12.4-wp:2)
(anonymous) @ wp-auth-check.min.js?ver=5.5.1:2
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
trigger @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ jquery.js?ver=1.12.4-wp:3
each @ jquery.js?ver=1.12.4-wp:2
each @ jquery.js?ver=1.12.4-wp:2
trigger @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ heartbeat.min.js?ver=5.5.1:2
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
x @ jquery.js?ver=1.12.4-wp:4
c @ jquery.js?ver=1.12.4-wp:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
l @ heartbeat.min.js?ver=5.5.1:2
(anonymous) @ heartbeat.min.js?ver=5.5.1:2
setTimeout (async)
d @ heartbeat.min.js?ver=5.5.1:2
v @ heartbeat.min.js?ver=5.5.1:2
s @ heartbeat.min.js?ver=5.5.1:2
wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined
at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
at Object.trigger (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
at Function.each (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
at i (jquery.js?ver=1.12.4-wp:2)
(anonymous) @ wp-auth-check.min.js?ver=5.5.1:2
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
trigger @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ jquery.js?ver=1.12.4-wp:3
each @ jquery.js?ver=1.12.4-wp:2
each @ jquery.js?ver=1.12.4-wp:2
trigger @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ heartbeat.min.js?ver=5.5.1:2
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
x @ jquery.js?ver=1.12.4-wp:4
c @ jquery.js?ver=1.12.4-wp:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
l @ heartbeat.min.js?ver=5.5.1:2
(anonymous) @ heartbeat.min.js?ver=5.5.1:2
setTimeout (async)
d @ heartbeat.min.js?ver=5.5.1:2
v @ heartbeat.min.js?ver=5.5.1:2
h @ heartbeat.min.js?ver=5.5.1:2
(anonymous) @ heartbeat.min.js?ver=5.5.1:2
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
 
intcon

Posted: 9/24/2020
Quote message 

well, shoot. now it's not working on the first site either.
 
Kelly Normand

Posted: 10/2/2020
Quote message 

I have found (at least so far on about 6 sites that I've worked on), these fixes (it seems I have to do all of them for it to work):

1. Install and activate "Enable jQuery Migrate Helper"
2. Install and activate "Test jQuery Updates"
2.1 Under "settings in "Test jQuery Updates" - set the first option "JQuery Version" to "3.5.1" -- leave the other two settings as is.
3. Go into >Appearance >Theme Editor > Library > Admin.php -- search for ".live" -- replace all three instance of ".live" with ".on" -- Save

That is -- so far!! -- working on each site. I'll keep everyone updated and will keep coming back here to see if there are any other solutions.

 
L.F.

Posted: 10/8/2020
Quote message 

OMG, Thank you KELLY! I had half of the fix going on but the error message was driving me crazy! You're fix above, did the trick!...I didn't initially install the test jquery plugin or that it had settings in it....Thanks Again!!!
 
Strettonbull

Posted: 11/14/2020
Quote message 

You don't need to mess about with any plugins at all.

All you need to do is replace all three instance of ".live" with ".on" in the file admins.php.

The file can be found in wpcontent/themes/themename/library

Hope this helps somebody.
 
Andy

Posted: 11/20/2020
Quote message 

This only works on some not all themes
 
NICOLAS

Posted: 11/29/2020
Quote message 

Thank you Ron. It's ok for me !
 
Daphne

Posted: 12/9/2020
Quote message 

With Wordpress phasing out jquery, will this still work with Wordpress 5.6 that came out today? What happens with Wordpress 5.7 that removes jquery altogether?

Thanks,
Daphne
 
Jaimy de Vries

Posted: 12/9/2020
Quote message 

There was a time Artisteer was really something cool and this forum was also very alive without the spam messages and everything. They completely forgot about Artisteer and now Themler is also left behind for their new OnePage builder.

I would actually be interested in this product and to rebrand it.
This was a classic tool!
 
Andy

Posted: 12/12/2020
Quote message 

Quote Daphne:

With Wordpress phasing out jquery, will this still work with Wordpress 5.6 that came out today? What happens with Wordpress 5.7 that removes jquery altogether?

Thanks,
Daphne


Updaing to 5.6 fixed all our sites. Let's they continue.

 
Andy

Posted: 12/12/2020
Quote message 

Quote Andy:

Quote Daphne:

With Wordpress phasing out jquery, will this still work with Wordpress 5.6 that came out today? What happens with Wordpress 5.7 that removes jquery altogether?

Thanks,
Daphne


Updaing to 5.6 fixed all our sites. Let's hope they continue.