Error message Backup Buddy - by emeliech

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

  • Avatar: emeliech
    emeliech
    Participant
    February 6, 2015 at 21:06

    Hello,

    I get an error message when I try to backup my site with Backup Buddy. It comes from the Visual Composer.

    Details: Uncaught ReferenceError: Color is not defined.

    URL: http://www.ringsofsweden.com/wp-content/plugins/js_composer/assets/js/params/composer-atts.js.

    Line: 105.

    Do you know?

    Thanks,
    Emelie

    6 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    February 6, 2015 at 21:37

    Hello,

    Are you using the latest version of Visual Composer plugin?
    https://www.8theme.com/download-plugins/

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: emeliech
    emeliech
    Participant
    February 6, 2015 at 21:39

    Yes, The absolute latest version!

    Avatar: Eva
    Eva Kemp
    Support staff
    February 6, 2015 at 22:10

    Hello,

    Sorry, but this is related to Visual Composer plugin. You may try to disable 3rd-party plugins and create back up again.

    Regards,
    Eva Kemp.

    Avatar: emeliech
    emeliech
    Participant
    February 12, 2015 at 18:00

    Hi Eva,

    I have been in contact now with the WP Bakery team regarding this error, and the following seems to be the error.. Please read their answer and I hope your development team can fix the code asap:

    “Ok by investigating an issue source, we found that something trying to enqueu script composer-atts when it is not needed.

    This enquing by:
    `
    etheme_admin_js
    `
    label
    file located

    string(75) “https://www.ringsofsweden.com/wp-content/themes/royal/framework/js/admin.js”

    and this dependencies is:
    array(3) {

    [0]=>

    string(10) “wpb_php_js”

    [1]=>

    string(23) “wpb_js_composer_js_view”

    [2]=>

    string(31) “wpb_js_composer_js_custom_views”

    }

    where wpb_js_composer_js_view and wpb_js_composer_js_custom_views is enquing without needs. I mean that theme “royal” author should remove this dependencies or fix code.

    I also think that this file simply must not be enqueued in all admin pages – just only “edit page or new page”.

    Might this also be the issue why the theme is running/loading so slow?

    Avatar: emeliech
    emeliech
    Participant
    February 12, 2015 at 18:08

    I also go this

    “We fixed this issue for you by adding dependency of ‘wp-color-picker’ in class-vc-base.php for composer-atts.js file. This fix also will be available in 4.4.3 (approximately in next week).

    But if you can please contact theme author and ask to dequeue script from unnecessary places (admin.js as I told is not needed everywhere only on edit/add page not in backup bage for example – this can in future cause same js errors).

    And also as you can see in console some unrelated to visual composer javascript errors appears from modernizr and theme admin.js -> imageLoaded js seems to be not loaded.

    Avatar: Eva
    Eva Kemp
    Support staff
    February 19, 2015 at 16:42

    Hello,

    Sorry for a delay.
    We forwarded your query to the developers and the issue will be fixed per the plugin author’s instruction. Soon our new theme update will be released where this fix will be implemented.

    Thank you for your understanding and patience.

    Regards,
    Eva Kemp.

  • Viewing 7 results - 1 through 7 (of 7 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.