-
AuthorPosts
-
July 30, 2019 at 10:10 pm #1123324
Hello guys,
when I want to edit a post in the backend the chrome console shows the following error:
Uncaught TypeError: $.avia_utilities.supports is not a function at avia_hover_effect (avia.js?ver=2:536) at Object.$.avia_utilities.avia_ajax_call (avia.js?ver=2:85) at HTMLDocument.<anonymous> (avia.js?ver=2:44) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2) at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2) at HTMLDocument.J (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2)
What can I do? You can test it for yourself with the login data which are in private content.
The background of my question is because the post backend dont shows up yoasts’ primary category feature on the category module. Maybe fixing this error will be the solution!?
Thanks!
August 1, 2019 at 3:48 am #1123707Hey coolicious,
Thanks for the login details. Why do you have avia.js in your child theme? What exactly are you trying to override or change?
Best regards,
RikardAugust 1, 2019 at 9:51 pm #1123988I needed a class in my submenu and used this code in my child theme functions.php:
/* Add Class to Submenu */ function wp_change_aviajs() { wp_dequeue_script( 'avia-default' ); wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true ); } add_action( 'wp_print_scripts', 'wp_change_aviajs', 100 );
Therefore I need the avia.js. Do you know an other way to do this?
August 4, 2019 at 12:00 pm #1124499Hi coolicious,
Is avia.js file from the fresh copy of Enfold?
Best regards,
VictoriaAugust 5, 2019 at 8:53 pm #1124886Hey Victoria,
what do you mean with fresh copy?
Best regards
SandroAugust 5, 2019 at 9:15 pm #1124903Hi Sandro,
Is it from the latest version of Enfold? Was it updated manually with the theme update?
Best regards,
VictoriaAugust 6, 2019 at 1:13 am #1124925I have version 4.5.7 – why?
- This reply was modified 5 years, 3 months ago by coolicious.
August 7, 2019 at 3:37 am #1125361 -
AuthorPosts
- You must be logged in to reply to this topic.