| ( ! ) Warning: Undefined variable $cart in /home/caraudiotech/domains/caraudiotech.gr/public_html/wp-content/plugins/discounts_for_bacs.php on line 42 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 500904 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 502448 | require( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-blog-header.php ) | .../index.php:17 |
| 3 | 0.0003 | 513752 | require_once( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-load.php ) | .../wp-blog-header.php:13 |
| 4 | 0.0004 | 525824 | require_once( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-config.php ) | .../wp-load.php:50 |
| 5 | 0.0008 | 617368 | require_once( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-settings.php ) | .../wp-config.php:208 |
| 6 | 2.1600 | 188687888 | do_action( $hook_name = 'wp_loaded' ) | .../wp-settings.php:645 |
| 7 | 2.1600 | 188688104 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
| 8 | 2.1600 | 188688104 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:332 |
| 9 | 2.1838 | 190233352 | WC_Form_Handler::add_to_cart_action( $url = '' ) | .../class-wp-hook.php:308 |
| 10 | 2.2276 | 190285848 | WC_Form_Handler::add_to_cart_handler_simple( $product_id = 594932 ) | .../class-wc-form-handler.php:796 |
| 11 | 2.2276 | 190286280 | WC_Cart->add_to_cart( $product_id = 594932, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ) | .../class-wc-form-handler.php:824 |
| 12 | 2.2285 | 190296248 | do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('8469f2333b447fa0187bbc900bd95c13', 594932, 1, 0, [], []) ) | .../class-wc-cart.php:1284 |
| 13 | 2.2285 | 190296464 | WP_Hook->do_action( $args = [0 => '8469f2333b447fa0187bbc900bd95c13', 1 => 594932, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../plugin.php:517 |
| 14 | 2.2285 | 190296464 | WP_Hook->apply_filters( $value = '', $args = [0 => '8469f2333b447fa0187bbc900bd95c13', 1 => 594932, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../class-wp-hook.php:332 |
| 15 | 2.2286 | 190298520 | WC_Cart->calculate_totals( ) | .../class-wp-hook.php:306 |
| 16 | 2.2286 | 190297744 | WC_Cart_Totals->__construct( $cart = class WC_Cart { public $cart_session_data = ['cart_contents_total' => 0, 'total' => 0, 'subtotal' => 0, 'subtotal_ex_tax' => 0, 'tax_total' => 0, 'taxes' => [...], 'shipping_taxes' => [...], 'discount_cart' => 0, 'discount_cart_tax' => 0, 'shipping_total' => 0, 'shipping_tax_total' => 0, 'coupon_discount_amounts' => [...], 'coupon_discount_tax_amounts' => [...], 'fee_total' => 0, 'fees' => [...]]; public $coupon_applied_count = []; public $cart_contents = ['73f490f3f868edbcd80b5d3f7cedc403' => [...], '71f6278d140af599e06ad9bf1ba03cb0' => [...], '8469f2333b447fa0187bbc900bd95c13' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = [0 => class WC_Shipping_Rate { ... }]; protected $default_totals = ['subtotal' => 0, 'subtotal_tax' => 0, 'shipping_total' => 0, 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => 0, 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $totals = ['subtotal' => '892', 'subtotal_tax' => 0, 'shipping_total' => '2.8', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '892', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; public $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] } ) | .../class-wc-cart.php:1406 |
| 17 | 2.2287 | 190297864 | WC_Cart_Totals->calculate( ) | .../class-wc-cart-totals.php:141 |
| 18 | 2.2615 | 191174368 | WC_Cart_Totals->calculate_fee_totals( ) | .../class-wc-cart-totals.php:152 |
| 19 | 2.2615 | 191174368 | WC_Cart_Totals->get_fees_from_cart( ) | .../class-wc-cart-totals.php:840 |
| 20 | 2.2615 | 191174368 | WC_Cart->calculate_fees( ) | .../class-wc-cart-totals.php:279 |
| 21 | 2.2615 | 191174368 | do_action( $hook_name = 'woocommerce_cart_calculate_fees', ...$arg = variadic(class WC_Cart { public $cart_session_data = ['cart_contents_total' => 0, 'total' => 0, 'subtotal' => 0, 'subtotal_ex_tax' => 0, 'tax_total' => 0, 'taxes' => [...], 'shipping_taxes' => [...], 'discount_cart' => 0, 'discount_cart_tax' => 0, 'shipping_total' => 0, 'shipping_tax_total' => 0, 'coupon_discount_amounts' => [...], 'coupon_discount_tax_amounts' => [...], 'fee_total' => 0, 'fees' => [...]]; public $coupon_applied_count = []; public $cart_contents = ['73f490f3f868edbcd80b5d3f7cedc403' => [...], '71f6278d140af599e06ad9bf1ba03cb0' => [...], '8469f2333b447fa0187bbc900bd95c13' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = [0 => class WC_Shipping_Rate { ... }]; protected $default_totals = ['subtotal' => 0, 'subtotal_tax' => 0, 'shipping_total' => 0, 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => 0, 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $totals = ['subtotal' => '892', 'subtotal_tax' => 0, 'shipping_total' => '2.8', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '892', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; public $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] }) ) | .../class-wc-cart.php:1893 |
| 22 | 2.2615 | 191174584 | WP_Hook->do_action( $args = [0 => class WC_Cart { public $cart_session_data = [...]; public $coupon_applied_count = [...]; public $cart_contents = [...]; public $removed_cart_contents = [...]; public $applied_coupons = [...]; protected $shipping_methods = [...]; protected $default_totals = [...]; protected $totals = [...]; protected $session = class WC_Cart_Session { ... }; protected $fees_api = class WC_Cart_Fees { ... }; public $coupon_discount_totals = [...]; public $coupon_discount_tax_totals = [...] }] ) | .../plugin.php:517 |
| 23 | 2.2615 | 191174584 | WP_Hook->apply_filters( $value = '', $args = [0 => class WC_Cart { public $cart_session_data = [...]; public $coupon_applied_count = [...]; public $cart_contents = [...]; public $removed_cart_contents = [...]; public $applied_coupons = [...]; protected $shipping_methods = [...]; protected $default_totals = [...]; protected $totals = [...]; protected $session = class WC_Cart_Session { ... }; protected $fees_api = class WC_Cart_Fees { ... }; public $coupon_discount_totals = [...]; public $coupon_discount_tax_totals = [...] }] ) | .../class-wp-hook.php:332 |
| 24 | 2.2615 | 191175232 | fg_add_fee( $the_cart = class WC_Cart { public $cart_session_data = ['cart_contents_total' => 0, 'total' => 0, 'subtotal' => 0, 'subtotal_ex_tax' => 0, 'tax_total' => 0, 'taxes' => [...], 'shipping_taxes' => [...], 'discount_cart' => 0, 'discount_cart_tax' => 0, 'shipping_total' => 0, 'shipping_tax_total' => 0, 'coupon_discount_amounts' => [...], 'coupon_discount_tax_amounts' => [...], 'fee_total' => 0, 'fees' => [...]]; public $coupon_applied_count = []; public $cart_contents = ['73f490f3f868edbcd80b5d3f7cedc403' => [...], '71f6278d140af599e06ad9bf1ba03cb0' => [...], '8469f2333b447fa0187bbc900bd95c13' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = [0 => class WC_Shipping_Rate { ... }]; protected $default_totals = ['subtotal' => 0, 'subtotal_tax' => 0, 'shipping_total' => 0, 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => 0, 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $totals = ['subtotal' => '892', 'subtotal_tax' => 0, 'shipping_total' => '2.8', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '892', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; public $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] } ) | .../class-wp-hook.php:308 |
| ( ! ) Warning: Attempt to read property "cart_contents_total" on null in /home/caraudiotech/domains/caraudiotech.gr/public_html/wp-content/plugins/discounts_for_bacs.php on line 42 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 500904 | {main}( ) | .../index.php:0 |
| 2 | 0.0002 | 502448 | require( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-blog-header.php ) | .../index.php:17 |
| 3 | 0.0003 | 513752 | require_once( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-load.php ) | .../wp-blog-header.php:13 |
| 4 | 0.0004 | 525824 | require_once( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-config.php ) | .../wp-load.php:50 |
| 5 | 0.0008 | 617368 | require_once( '/home/caraudiotech/domains/caraudiotech.gr/public_html/wp-settings.php ) | .../wp-config.php:208 |
| 6 | 2.1600 | 188687888 | do_action( $hook_name = 'wp_loaded' ) | .../wp-settings.php:645 |
| 7 | 2.1600 | 188688104 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
| 8 | 2.1600 | 188688104 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:332 |
| 9 | 2.1838 | 190233352 | WC_Form_Handler::add_to_cart_action( $url = '' ) | .../class-wp-hook.php:308 |
| 10 | 2.2276 | 190285848 | WC_Form_Handler::add_to_cart_handler_simple( $product_id = 594932 ) | .../class-wc-form-handler.php:796 |
| 11 | 2.2276 | 190286280 | WC_Cart->add_to_cart( $product_id = 594932, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ) | .../class-wc-form-handler.php:824 |
| 12 | 2.2285 | 190296248 | do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('8469f2333b447fa0187bbc900bd95c13', 594932, 1, 0, [], []) ) | .../class-wc-cart.php:1284 |
| 13 | 2.2285 | 190296464 | WP_Hook->do_action( $args = [0 => '8469f2333b447fa0187bbc900bd95c13', 1 => 594932, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../plugin.php:517 |
| 14 | 2.2285 | 190296464 | WP_Hook->apply_filters( $value = '', $args = [0 => '8469f2333b447fa0187bbc900bd95c13', 1 => 594932, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../class-wp-hook.php:332 |
| 15 | 2.2286 | 190298520 | WC_Cart->calculate_totals( ) | .../class-wp-hook.php:306 |
| 16 | 2.2286 | 190297744 | WC_Cart_Totals->__construct( $cart = class WC_Cart { public $cart_session_data = ['cart_contents_total' => 0, 'total' => 0, 'subtotal' => 0, 'subtotal_ex_tax' => 0, 'tax_total' => 0, 'taxes' => [...], 'shipping_taxes' => [...], 'discount_cart' => 0, 'discount_cart_tax' => 0, 'shipping_total' => 0, 'shipping_tax_total' => 0, 'coupon_discount_amounts' => [...], 'coupon_discount_tax_amounts' => [...], 'fee_total' => 0, 'fees' => [...]]; public $coupon_applied_count = []; public $cart_contents = ['73f490f3f868edbcd80b5d3f7cedc403' => [...], '71f6278d140af599e06ad9bf1ba03cb0' => [...], '8469f2333b447fa0187bbc900bd95c13' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = [0 => class WC_Shipping_Rate { ... }]; protected $default_totals = ['subtotal' => 0, 'subtotal_tax' => 0, 'shipping_total' => 0, 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => 0, 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $totals = ['subtotal' => '892', 'subtotal_tax' => 0, 'shipping_total' => '2.8', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '892', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; public $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] } ) | .../class-wc-cart.php:1406 |
| 17 | 2.2287 | 190297864 | WC_Cart_Totals->calculate( ) | .../class-wc-cart-totals.php:141 |
| 18 | 2.2615 | 191174368 | WC_Cart_Totals->calculate_fee_totals( ) | .../class-wc-cart-totals.php:152 |
| 19 | 2.2615 | 191174368 | WC_Cart_Totals->get_fees_from_cart( ) | .../class-wc-cart-totals.php:840 |
| 20 | 2.2615 | 191174368 | WC_Cart->calculate_fees( ) | .../class-wc-cart-totals.php:279 |
| 21 | 2.2615 | 191174368 | do_action( $hook_name = 'woocommerce_cart_calculate_fees', ...$arg = variadic(class WC_Cart { public $cart_session_data = ['cart_contents_total' => 0, 'total' => 0, 'subtotal' => 0, 'subtotal_ex_tax' => 0, 'tax_total' => 0, 'taxes' => [...], 'shipping_taxes' => [...], 'discount_cart' => 0, 'discount_cart_tax' => 0, 'shipping_total' => 0, 'shipping_tax_total' => 0, 'coupon_discount_amounts' => [...], 'coupon_discount_tax_amounts' => [...], 'fee_total' => 0, 'fees' => [...]]; public $coupon_applied_count = []; public $cart_contents = ['73f490f3f868edbcd80b5d3f7cedc403' => [...], '71f6278d140af599e06ad9bf1ba03cb0' => [...], '8469f2333b447fa0187bbc900bd95c13' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = [0 => class WC_Shipping_Rate { ... }]; protected $default_totals = ['subtotal' => 0, 'subtotal_tax' => 0, 'shipping_total' => 0, 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => 0, 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $totals = ['subtotal' => '892', 'subtotal_tax' => 0, 'shipping_total' => '2.8', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '892', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; public $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] }) ) | .../class-wc-cart.php:1893 |
| 22 | 2.2615 | 191174584 | WP_Hook->do_action( $args = [0 => class WC_Cart { public $cart_session_data = [...]; public $coupon_applied_count = [...]; public $cart_contents = [...]; public $removed_cart_contents = [...]; public $applied_coupons = [...]; protected $shipping_methods = [...]; protected $default_totals = [...]; protected $totals = [...]; protected $session = class WC_Cart_Session { ... }; protected $fees_api = class WC_Cart_Fees { ... }; public $coupon_discount_totals = [...]; public $coupon_discount_tax_totals = [...] }] ) | .../plugin.php:517 |
| 23 | 2.2615 | 191174584 | WP_Hook->apply_filters( $value = '', $args = [0 => class WC_Cart { public $cart_session_data = [...]; public $coupon_applied_count = [...]; public $cart_contents = [...]; public $removed_cart_contents = [...]; public $applied_coupons = [...]; protected $shipping_methods = [...]; protected $default_totals = [...]; protected $totals = [...]; protected $session = class WC_Cart_Session { ... }; protected $fees_api = class WC_Cart_Fees { ... }; public $coupon_discount_totals = [...]; public $coupon_discount_tax_totals = [...] }] ) | .../class-wp-hook.php:332 |
| 24 | 2.2615 | 191175232 | fg_add_fee( $the_cart = class WC_Cart { public $cart_session_data = ['cart_contents_total' => 0, 'total' => 0, 'subtotal' => 0, 'subtotal_ex_tax' => 0, 'tax_total' => 0, 'taxes' => [...], 'shipping_taxes' => [...], 'discount_cart' => 0, 'discount_cart_tax' => 0, 'shipping_total' => 0, 'shipping_tax_total' => 0, 'coupon_discount_amounts' => [...], 'coupon_discount_tax_amounts' => [...], 'fee_total' => 0, 'fees' => [...]]; public $coupon_applied_count = []; public $cart_contents = ['73f490f3f868edbcd80b5d3f7cedc403' => [...], '71f6278d140af599e06ad9bf1ba03cb0' => [...], '8469f2333b447fa0187bbc900bd95c13' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = [0 => class WC_Shipping_Rate { ... }]; protected $default_totals = ['subtotal' => 0, 'subtotal_tax' => 0, 'shipping_total' => 0, 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => 0, 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $totals = ['subtotal' => '892', 'subtotal_tax' => 0, 'shipping_total' => '2.8', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '892', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; public $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] } ) | .../class-wp-hook.php:308 |