( ! ) Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/olivaclanworld.es/htdocs/wp-content/plugins/pricing-deals-for-woocommerce/woo-integration/vtprd-parent-functions.php on line 1411
( ! ) TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/olivaclanworld.es/htdocs/wp-content/plugins/pricing-deals-for-woocommerce/woo-integration/vtprd-parent-functions.php on line 1411
Call Stack
#TimeMemoryFunctionLocation
10.0001357464{main}( ).../index.php:0
20.0002358784require( '/var/www/olivaclanworld.es/htdocs/wp-blog-header.php ).../index.php:17
30.0005368392require_once( '/var/www/olivaclanworld.es/htdocs/wp-load.php ).../wp-blog-header.php:13
40.0007378568require_once( '/var/www/olivaclanworld.es/htdocs/wp-config.php ).../wp-load.php:50
50.0020444176require_once( '/var/www/olivaclanworld.es/htdocs/wp-settings.php ).../wp-config.php:168
61.9971119656872do_action( $hook_name = 'wp_loaded' ).../wp-settings.php:600
71.9971119657248WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:470
81.9971119657248WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:327
92.0052120361304WC_Form_Handler::add_to_cart_action( $url = '' ).../class-wp-hook.php:303
102.0289120495696WC_Form_Handler::add_to_cart_handler_simple( $product_id = 1632 ).../class-wc-form-handler.php:796
112.0388120692896WC_Cart->add_to_cart( $product_id = 1632, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ).../class-wc-form-handler.php:824
122.0407120705648do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('0771fc6f0f4b1d7d1bb73bbbe14e0e31', 1632, 1, 0, [], []) ).../class-wc-cart.php:1276
132.0407120706024WP_Hook->do_action( $args = [0 => '0771fc6f0f4b1d7d1bb73bbbe14e0e31', 1 => 1632, 2 => 1, 3 => 0, 4 => [], 5 => []] ).../plugin.php:470
142.0407120706024WP_Hook->apply_filters( $value = '', $args = [0 => '0771fc6f0f4b1d7d1bb73bbbe14e0e31', 1 => 1632, 2 => 1, 3 => 0, 4 => [], 5 => []] ).../class-wp-hook.php:327
152.0410120708976WC_Cart->calculate_totals( ).../class-wp-hook.php:301
162.0584120894792do_action( $hook_name = 'woocommerce_after_calculate_totals', ...$arg = variadic(class WC_Cart { public $cart_contents = ['0771fc6f0f4b1d7d1bb73bbbe14e0e31' => [...]]; 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' => '38.29', 'subtotal_tax' => 3.83, 'shipping_total' => '2.47', 'shipping_tax' => 0.52, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '38.29', 'cart_contents_tax' => 3.83, 'cart_contents_taxes' => [...], 'fee_total' => '0', 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => '45.11', 'total_tax' => 4.35]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; 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 $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] }) ).../class-wc-cart.php:1400
172.0584120895168WP_Hook->do_action( $args = [0 => class WC_Cart { 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 $cart_session_data = [...]; public $coupon_applied_count = [...]; public $coupon_discount_totals = [...]; public $coupon_discount_tax_totals = [...] }] ).../plugin.php:470
182.0584120895168WP_Hook->apply_filters( $value = '', $args = [0 => class WC_Cart { 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 $cart_session_data = [...]; public $coupon_applied_count = [...]; public $coupon_discount_totals = [...]; public $coupon_discount_tax_totals = [...] }] ).../class-wp-hook.php:327
192.0609120892848WC_Cart_Session->set_session( class WC_Cart { public $cart_contents = ['0771fc6f0f4b1d7d1bb73bbbe14e0e31' => [...]]; 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' => '38.29', 'subtotal_tax' => 3.83, 'shipping_total' => '2.47', 'shipping_tax' => 0.52, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '38.29', 'cart_contents_tax' => 3.83, 'cart_contents_taxes' => [...], 'fee_total' => '0', 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => '45.11', 'total_tax' => 4.35]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; private $cart = ...; private $default_fee_props = [...] }; 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 $coupon_discount_totals = []; public $coupon_discount_tax_totals = [] } ).../class-wp-hook.php:303
202.0628120892848do_action( $hook_name = 'woocommerce_cart_updated' ).../class-wc-cart-session.php:234
212.0628120893224WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:470
222.0628120893224WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:327
232.0628120893600VTPRD_Parent_Cart_Validation->vtprd_cart_updated( '' ).../class-wp-hook.php:303
242.0630120892000VTPRD_Parent_Cart_Validation->vtprd_process_discount( ).../vtprd-parent-cart-validation.php:4290
252.0633120892464vtprd_get_cart_html_prices( $called_from = 'process discount', $catalog_or_inline = 'inline' ).../vtprd-parent-cart-validation.php:4441