• machinedean

    (@machinedean)


    Hi there,

    A client of ours has the following error repeatedly in their logs:

    Got error 'PHP message: price was called incorrectly. Product properties should not be accessed directly. Backtrace: require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->get_cart_from_session, do_action('woocommerce_cart_loaded_from_session'), WP_Hook->do_action, WP_Hook->apply_filters, FlycartWooDiscountRules->applyCartDiscountRules, FlycartWooDiscountBase->handleCartDiscount, FlycartWooDiscountBase->getInstance, FlycartWooDiscountRulesCartRules->__construct, FlycartWooDiscountRulesCartRules->calculateCartSubtotal, do_action('woocommerce_before_calculate_totals'), WP_Hook->do_action, WP_Hook->apply_filters, sb_add_custom_price, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.\n',

    I’m a little concerned that this might be causing issues for potential customers. We are on the latest version of your pro plugin.

    Thanks

    Dean

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Got error ‘PHP message: price was called incorrectly’ is closed to new replies.