-
AuthorPosts
-
February 25, 2016 at 5:33 pm #589276
Hi,
I’m using Enfold theme and have a console error on all the pages:
/wp-content/themes/enfold/js/shortcodes.js?a9c57f:673 Uncaught ReferenceError: avia_is_mobile is not definedHelp please.
Cheers,
Guy.February 25, 2016 at 5:34 pm #589278Hey Guy!
Can you please try de-activating all active plugins and flush cache and check if that helps?
Best regards,
YigitFebruary 25, 2016 at 5:45 pm #589292Nope, it didn’t help …
February 25, 2016 at 5:46 pm #589294Hi!
Can you please try re-updating the theme via FTP and overwrite all files – kriesi.at/documentation/enfold/updating-your-theme-files/?
Have you made any changes on theme files?Regards,
YigitFebruary 25, 2016 at 5:54 pm #589302I’m using Enfold child, does it matter?
February 25, 2016 at 5:55 pm #589305February 25, 2016 at 5:59 pm #589311Can I switch without losing any changes I’ve made to the style of the child theme?
February 25, 2016 at 6:00 pm #589313Hey!
Yes, it may look different but would get back to original looks as soon as you switch back to child theme.
Best regards,
YigitFebruary 25, 2016 at 6:04 pm #589321I got 404 when switched the theme to Enfold …
Switched it backFebruary 26, 2016 at 11:10 pm #590053Any updates guys?
I’ve updated all the enfold folder with the latest files as you suggested and the problem still exists.Thanks for you help,
Guy.February 27, 2016 at 8:23 pm #590289Hi,
I just followed your hints (but the error still exists:
rosterSlider: Set a width for the items!
rosterSlider: Set a width for the items!
rosterSlider: Set a width for the items!
[body#top.home.page.page-id-93144.page-template-default.logged-in.admin-bar.boxed.open_sans.customize…, prevObject: m.fn.init[1], context: document, selector: “body”]
Uncaught ReferenceError: avia_is_mobile is not definedCan you help?
Br,
George
February 28, 2016 at 1:22 pm #590397Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueFebruary 28, 2016 at 2:38 pm #590420Done
March 2, 2016 at 8:11 am #591939Hi!
Did you minify the scripts? Please disable the minification then modify the js > shortcodes.js file. Look for this code around line 3980:
if(!endTriggered && !avia_is_mobile && $('html').is('.avia-safari') ) {
… remove the avia_is_mobile conditional:
f(!endTriggered && $('html').is('.avia-safari') ) {
This is a minor scripting error. We’ll report this to Kriesi.
Regards,
IsmaelMarch 2, 2016 at 8:48 am #591952Hi Ismael,
Done, looks like it solved the problem.
did you mean I’ll remove the minification for good? Or just to edit the file?Cheers,
Guy.March 2, 2016 at 4:14 pm #592146Hi!
After making the changes please flush cache and then enable it and it should work fine.
Best regards,
YigitMarch 2, 2016 at 4:28 pm #592162Works like charm, thanks!
-
AuthorPosts
- The topic ‘avia_is_mobile is not defined error’ is closed to new replies.