Deprecated: Optional parameter $location declared before required parameter $limit is implicitly treated as a required parameter in /home/connectwebsite/public_html/wp-content/themes/fabia_v4.9/functions.php on line 681
Notice: Function price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), 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, RP_WCDPD->apply_discounts, RP_WCDPD_Pricing->get, 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 /home/connectwebsite/public_html/wp-includes/functions.php on line 6085
Fatal error: Uncaught TypeError: Unsupported operand types: string / int in /home/connectwebsite/public_html/wp-content/plugins/wc-dynamic-pricing-and-discounts/includes/classes/Discounts.php:368
Stack trace:
#0 /home/connectwebsite/public_html/wp-content/plugins/wc-dynamic-pricing-and-discounts/includes/classes/Discounts.php(64): RP_WCDPD_Discounts->calculate_discount(425.0, Array)
#1 /home/connectwebsite/public_html/wp-content/plugins/wc-dynamic-pricing-and-discounts/wc-dynamic-pricing-and-discounts.php(229): RP_WCDPD_Discounts->get()
#2 /home/connectwebsite/public_html/wp-includes/class-wp-hook.php(324): RP_WCDPD->apply_discounts(Object(WC_Cart))
#3 /home/connectwebsite/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /home/connectwebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/connectwebsite/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(219): do_action('woocommerce_car...', Object(WC_Cart))
#6 /home/connectwebsite/public_html/wp-includes/class-wp-hook.php(324): WC_Cart_Session->get_cart_from_session('')
#7 /home/connectwebsite/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /home/connectwebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/connectwebsite/public_html/wp-settings.php(722): do_action('wp_loaded')
#10 /home/connectwebsite/public_html/wp-config.php(73): require_once('/home/connectwe...')
#11 /home/connectwebsite/public_html/wp-load.php(50): require_once('/home/connectwe...')
#12 /home/connectwebsite/public_html/wp-blog-header.php(13): require_once('/home/connectwe...')
#13 /home/connectwebsite/public_html/index.php(17): require('/home/connectwe...')
#14 {main}
thrown in /home/connectwebsite/public_html/wp-content/plugins/wc-dynamic-pricing-and-discounts/includes/classes/Discounts.php on line 368