-
AuthorPosts
-
March 21, 2018 at 1:11 am #930205
We’re using the Query Monitor plugin to resolve any issues with speeds in websites we develop. We’ve found that on EVERY Enfold installation, there are a number of errors reported when we test the sites using the Query Monitor plugin. These are broken dependencies.
This has been reported by other users (e.g. https://kriesi.at/support/topic/wp_adimn-errors). I was asked to create my own thread for this issue.
I’d like to resolve the issues completely, and not simply ignore them as advised in other threads.
March 21, 2018 at 4:24 am #930231Hi Grant!
Thank you for using Enfold.
Let’s remove the warnings one at a time. Edit the config-templatebuilder > avia-shortcodes > contact > contact.php file, look for this code around line 38.
wp_enqueue_script( 'avia-module-contact' , AviaBuilder::$path['pluginUrlRoot'].'avia-shortcodes/contact/contact.js', array('avia-shortcodes'), false, TRUE );
Remove the value of the dependencies parameter.
wp_enqueue_script( 'avia-module-contact' , AviaBuilder::$path['pluginUrlRoot'].'avia-shortcodes/contact/contact.js', array(), false, TRUE );
Let us know if that removes the issue with the contact.js broken dependency. We’ll forward the issue to our developers.
Cheers!
IsmaelMarch 21, 2018 at 4:28 am #930233Thanks but I really don’t want to edit any theme files. If you can simply fix the issue in future theme updates, that’s the best outcome.
March 22, 2018 at 2:51 am #930993Hi!
Thank you for the update. Our developers modified a few files to get around the issue. We’ll let you know once it is fixed.
Best regards,
IsmaelApril 1, 2018 at 12:04 pm #935755Hi, we are also running into slowness issues, requiring us to do some debugging. We have noticed the following broken dependencies:
Broken JS Dependencies
avia_tab_section_js
/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/js/avia-tab-section.js
avia_builder_js (missing)
avia_modal_js (missing)
0.9.5avia_tab_toggle_js
/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/js/avia-tab-toggle.js
avia_modal_js (missing)
0.9.5avia-module-contact
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.js
avia-shortcodes (missing)avia-module-countdown
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/countdown/countdown.js
avia-shortcodes (missing)avia-module-numbers
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/numbers/numbers.js
avia-shortcodes (missing)avia-module-portfolio
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.js
avia-shortcodes (missing)avia_table_js
/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/js/avia-table.js
avia_modal_js (missing)
0.9.5avia_media_js
/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/js/avia-media.js
avia_element_js (missing)
0.9.5Broken CSS Dependencies
avia-module-button
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons/buttons.css
avia-layout (missing)avia-module-button-fullwidth
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/buttons_fullwidth/buttons_fullwidth.css
avia-layout (missing)avia-module-catalogue
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/catalogue/catalogue.css
avia-layout (missing)avia-module-contact
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contact/contact.css
avia-layout (missing)avia-module-countdown
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/countdown/countdown.css
avia-layout (missing)avia-module-hr
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/hr/hr.css
avia-layout (missing)avia-module-icon
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/icon/icon.css
avia-layout (missing)avia-module-iconbox
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconbox/iconbox.css
avia-layout (missing)avia-module-iconlist
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/iconlist/iconlist.css
avia-layout (missing)avia-module-numbers
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/numbers/numbers.css
avia-layout (missing)avia-module-portfolio
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.css
avia-layout (missing)avia-module-table
/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/table/table.css
avia-layout (missing)April 2, 2018 at 10:25 pm #936212Hi,
Can you please reupload the theme ( delete it first from FTP ).
Make sure you have a backup in place.Best regards,
BasilisApril 3, 2018 at 11:24 am #936473Hi Basilis, I tried uploading a fresh install of the theme, I get the same issue. I tried disabling the child theme, I still get the same issue.
April 3, 2018 at 7:30 pm #936739Hi,
I have asked our developers to take a look.
Please do allow us some time for it.Thank you very much
Best regards,
BasilisApril 19, 2018 at 1:13 pm #944087Hi, I am wondering if any progress has been made on this?
Thank you,
April 22, 2018 at 8:13 pm #945124Hi,
Not yet.
We do need some more time and we appreciate your patience.Best regards,
BasilisFebruary 6, 2019 at 3:20 am #1063433Any Progress on this Subject?
thanks in advance
February 7, 2019 at 9:50 am #1063958Hi,
There’s nothing to fix here actually. Those scripts requires the avia_modal.js file, which is only loaded when you’re using the advance layout builder hence the warning occurs when you’re on a different page other than the page editor or builder, so it’s not something you should be worried about.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.