Getting php error with woocommerce (English)

Hi, 

I've been getting a nasty error with Woocommerce, tried wuite a lot but couldn't manage to fix it.

I'm getting the following error:


Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/plugins/dokan-lite/templates/store.php’), wc_get_template_part, load_template, require(‘/plugins/woocommerce/templates/content-product.php’), do_action(‘woocommerce_after_shop_loop_item’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, user_logged_in_product_already_bought, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in ………/functions.php on line 4137

Any help is appreciated. Thanks

Comments

  • Hi,
    it seems like some files were not updated correctly, to fix this, please remove wooommerce then go to your FTP account and delete the whole theme folder and install the newest version of betheme, also via FTP. After that, go to plugins and install woocommerce.
    thanks
Sign In or Register to comment.