• i cant even login to my dashboard any more…..
    this is what i see

    Fatal error: Call to undefined function WC() in /home1/tommy/public_html/www.drinkjugolife.com/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php on line 227

    all i did was install woo commerce and tried to deactivate it…
    my website still works drinkjugolife.com but when i login
    it takes me to a blank page with the above stated on it…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Most likely cause is that the Stripe gateway plugin needs to be updated.

    Disable WooCommerce by FTP to the site, and rename /wp-content/plugins/woocommerce to /wp-content/plugins/woocommerceTEMP.

    Log back in and update Stripe Gateway plugin – then rename woocommerce back

    Thread Starter tommyoh52

    (@tommyoh52)

    is there an app or someting i should use to do that?
    i literally have no idea how…

    Based on your response, I recommend getting some professional assistance to do this.

    Hello,

    Login to your ftp and open directory wp-content/plugins/woocommerce-gateway-stripe

    open woocommerce-gateway-stripe.php file in any editor find below code ( line no: 226 to 232 )

    public function get_setting_link() {
    $use_id_as_section = version_compare( WC()->version, ‘2.6’, ‘>=’ );

    $section_slug = $use_id_as_section ? ‘stripe’ : strtolower( ‘WC_Gateway_Stripe’ );

    return admin_url( ‘admin.php?page=wc-settings&tab=checkout&section=’ . $section_slug );
    }

    and replace with below code

    public function get_setting_link() {
    $use_id_as_section = class_exists( ‘WC’ ) ? version_compare( WC()->version, ‘2.6’, ‘>=’ ) : false;
    $section_slug = $use_id_as_section ? ‘stripe’ : strtolower( ‘WC_Gateway_Stripe’ );
    return admin_url( ‘admin.php?page=wc-settings&tab=checkout&section=’ . $section_slug );
    }

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error after installing Woocommerce…’ is closed to new replies.