• Resolved kobe_2104

    (@kobe_2104)


    Guys,

    I’ve just upgraded and I’m getting this error message in Recovery Mode:

    An error of type E_COMPILE_ERROR was caused in line 168 of the file /home/webmasterclark/public_html/wp-content/plugins/woocommerce-jetpack/woocommerce-jetpack.php. Error message: Cannot redeclare _load_plugin_class() (previously declared in /home/webmasterclark/public_html/wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php:163)

    It’s killed the website!!!

    I will try and go back a version (if I can find it).

    Thanks,
    Matt

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kobe_2104

    (@kobe_2104)

    I’ve fixed it myself. Booster for Woocommerce is making a call it shouldn’t as Booster Plus for Woocommerce already does it.

    Comment out the following lines at the end of
    wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php

    /**
    add_action( ‘plugins_loaded’, ‘_load_plugin_class’ );

    function _load_plugin_class() {
    WCJ();

    }
    */

    This stops it being called twice! Website back up and running.

    Plugin Author ronyp

    (@ronyp)

    Hello @kobe_2104,

    Actually, you have disabled the PLUS plugin function. Kindly just rename the function name which will solve the issue.

    add_action( ‘plugins_loaded’, ‘_load_plus_plugin_class’ );
    
    function _load_plus_plugin_class() {
    WCJ();
    
    }

    Kind Regards,
    RonyP – Support Team

    Thread Starter kobe_2104

    (@kobe_2104)

    Yep, that worked. Thanks Rony!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with Booster v5.6.4’ is closed to new replies.