Broken script dependency - by Tom Gillesberg

This topic has 8 replies, 2 voices, and was last updated 8 years, 2 months ago ago by Eva Kemp

  • Avatar: Tom Gillesberg
    Tom Gillesberg
    Participant
    January 9, 2016 at 15:03

    Hi there!
    Query Monitor is showing up the following “error”, a Script dependency is broken – possibly because of the Royal Theme option where on turns off the Add to Cart funciton (as we have done):

    vc_woocommerce-add-to-cart-js
    http://webshop.x-medics.com/wp-content/plugins/js_composer/assets/js/vendors/woocommerce-add-to-cart.js

    wc-add-to-cart (missing)

    Query Monitor analysis

    Could this have a negative impact on, for example, performance?

    Thanks!

    7 Answers
    Avatar: Tom Gillesberg
    Tom Gillesberg
    Participant
    January 9, 2016 at 15:14

    P.S. could this be an issue? This is the text from our debug.log file:

    [09-Jan-2016 13:55:23 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 13:55:23 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 13:55:23 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 13:55:23 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:01 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:01 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:01 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:01 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:13 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:13 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:13 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:13 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:49 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:49 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:49 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:04:49 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:09 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:09 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:09 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:09 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:21 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:21 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:21 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:21 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:40 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:40 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:40 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:40 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:48 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:48 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:48 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:48 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:57 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:57 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:57 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549
    [09-Jan-2016 14:05:57 UTC] PHP Notice: Undefined index: in /customers/4/d/2/x-medics.com/httpd.www/webshop/wp-content/themes/royal/framework/theme-functions.php on line 549

    Avatar: Eva
    Eva Kemp
    Support staff
    January 11, 2016 at 09:24

    Hello,

    Those are just notices, not errors. You can ignore them.
    Concerning this error https://dl.dropboxusercontent.com/u/456981/query-monitor_script_broken-dependency.PNG as you can see it’s related to Visual Composer plugin. Try to reupload it.

    Regards,
    Eva Kemp.

    Avatar: Tom Gillesberg
    Tom Gillesberg
    Participant
    January 13, 2016 at 08:07

    Hi Eva,

    the file named in the script dependency is not missing. But I was going to re-upload anyway, seeing as Visual Composer 4.9.2 is available, but the files cannot be download on EightTheme … please let me know when the files are up.

    I re-uploaded the 4.9.1 files – no change on the broken script dependency message.

    Best regards,

    Daniel

    Avatar: Eva
    Eva Kemp
    Support staff
    January 13, 2016 at 11:10

    Hello,

    Visual Composer new version is available for download https://www.8theme.com/download-plugins/ .
    Please check it.

    Regards,
    Eva Kemp.

    Avatar: Tom Gillesberg
    Tom Gillesberg
    Participant
    January 19, 2016 at 08:38

    Hi Eva,
    I downloaded and updated the 4.9.2 version of Visual Composer … same error message! The file being referred to ( woocommerce-add-to-cart.js ) does exist, but could the filepath descrepency shown here be a problem?

    Filepaths

    Thanks,
    Daniel

    Avatar: Tom Gillesberg
    Tom Gillesberg
    Participant
    January 19, 2016 at 08:48

    Sorry, Google Drive wouldn’t let me insert the image… here is the URL

    Avatar: Eva
    Eva Kemp
    Support staff
    January 21, 2016 at 10:24

    Hello,

    Sorry for a long delay.
    The file is related to Visual Composer plugin, not to the theme.
    Please activate default WordPress theme and check if the error still appears.
    If it does you have to contact plugin authors.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.