Fatal Error : Site Crashed Help!
-
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???
The topic ‘Fatal Error : Site Crashed Help!’ is closed to new replies.