• Resolved Rick8rooke

    (@rick8rooke)


    I am panicking because I think I’ve lost all my site.

    I’ve been using Woocommerce with no problem so far but made a change in this file:

    class-wc-product-variable.php

    I changed the line :

    public function add_to_cart_text() {
    return apply_filters( ‘woocommerce_product_add_to_cart_text’, __( ‘Select options’, ‘woocommerce’ ), $this );
    }

    Where it says ‘Select options‘ I changed it to ‘View Products‘.

    Then uploaded it to the plugins > woo commerce > includes folder via ftp and my site went down!

    It just shows a white screen and the text :

    Fatal error: Access level to WC_Product_Variable::check_stock_status() must be public (as in class WC_Product) in /home/selectionfox/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php on line 655

    I am so upset have I lost the site completely?

    Please can anyone help me restore my site back online???

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Thread Starter Rick8rooke

    (@rick8rooke)

    I have resolved this – I downloaded the plugin files again and manually uploaded them via ftp, seemed to resolve it right away.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error : Site Crashed Help!’ is closed to new replies.