Okay
  Public Ticket #274444
Visual Composer - Fatal Error
Closed

Comments

  • Chechin started the conversation

    Hello

    I want to use the raw plugin of Visual Composer instead of Salients.
    I have renamed the folder "wpbakery" and disabled in the settings.

    But when activating the raw plugin the site goes blank and gives the following:

    Fatal error: Call to undefined method WPBakeryVisualComposer::getInstance() in functions.php on line 123

    I'm on a local server so I can't provide a link.

    And it's a completely fresh install of latest wordpress, latest versions of both Salient and Visual Composer, no other plugins installed.

    Please advise, thank you in advance.

  •  8,839
    Tahir replied

    Hey!

    You will have to comment out these lines out of the functions.php:

    //if (class_exists(\\\'WPBakeryVisualComposerAbstract\\\')) {

    //wp_register_script(\\\'progressCircle\\\', WPBakeryVisualComposer::getInstance()->assetURL(\\\'lib/progress-circle/ProgressCircle.js\\\'));

    // wp_register_script(\\\'vc_pie\\\', WPBakeryVisualComposer::getInstance()->assetURL(\\\'js/jquery.vc_chart.js\\\'), array(\\\'jquery\\\', \\\'progressCircle\\\'));

    //wp_enqueue_script(\\\'vc_pie\\\');

    //}

    This will be fixed in the upcoming update.

    Cheers


    ThemeNectar Support Team