( ! ) 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.0001357104{main}( ).../index.php:0
20.0001357416require( '/var/www/olivaclanworld.es/htdocs/wp-blog-header.php ).../index.php:17
30.0001357832require_once( '/var/www/olivaclanworld.es/htdocs/wp-load.php ).../wp-blog-header.php:13
40.0002358640require_once( '/var/www/olivaclanworld.es/htdocs/wp-config.php ).../wp-load.php:50
50.0002360056require_once( '/var/www/olivaclanworld.es/htdocs/wp-settings.php ).../wp-config.php:168
60.798337734120do_action( $hook_name = 'wp_loaded' ).../wp-settings.php:600
70.798337734496WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:470
80.798337734496WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:327
90.803038035160WC_Form_Handler::add_to_cart_action( $url = '' ).../class-wp-hook.php:303
100.811938211912WC_Form_Handler::add_to_cart_handler_simple( $product_id = 1322 ).../class-wc-form-handler.php:796
110.820138245984WC_Cart->add_to_cart( $product_id = 1322, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ).../class-wc-form-handler.php:824
120.821938256656do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('dc960c46c38bd16e953d97cdeefdbc68', 1322, 1, 0, [], []) ).../class-wc-cart.php:1276
130.821938257032WP_Hook->do_action( $args = [0 => 'dc960c46c38bd16e953d97cdeefdbc68', 1 => 1322, 2 => 1, 3 => 0, 4 => [], 5 => []] ).../plugin.php:470
140.821938257032WP_Hook->apply_filters( $value = '', $args = [0 => 'dc960c46c38bd16e953d97cdeefdbc68', 1 => 1322, 2 => 1, 3 => 0, 4 => [], 5 => []] ).../class-wp-hook.php:327
150.822238259984WC_Cart->calculate_totals( ).../class-wp-hook.php:301
160.840238440312do_action( $hook_name = 'woocommerce_after_calculate_totals', ...$arg = variadic(class WC_Cart { public $cart_contents = ['dc960c46c38bd16e953d97cdeefdbc68' => [...]]; 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' => '7.09', 'subtotal_tax' => 0.71, 'shipping_total' => '3.27', 'shipping_tax' => 0.69, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '7.09', 'cart_contents_tax' => 0.71, 'cart_contents_taxes' => [...], 'fee_total' => '0', 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => '11.76', 'total_tax' => 1.4]; 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
170.840238440688WP_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
180.840238440688WP_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
190.842738439416WC_Cart_Session->set_session( class WC_Cart { public $cart_contents = ['dc960c46c38bd16e953d97cdeefdbc68' => [...]]; 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' => '7.09', 'subtotal_tax' => 0.71, 'shipping_total' => '3.27', 'shipping_tax' => 0.69, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '7.09', 'cart_contents_tax' => 0.71, 'cart_contents_taxes' => [...], 'fee_total' => '0', 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => '11.76', 'total_tax' => 1.4]; 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
200.844438439416do_action( $hook_name = 'woocommerce_cart_updated' ).../class-wc-cart-session.php:234
210.844438439792WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:470
220.844438439792WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:327
230.844438440168VTPRD_Parent_Cart_Validation->vtprd_cart_updated( '' ).../class-wp-hook.php:303
240.844638438568VTPRD_Parent_Cart_Validation->vtprd_process_discount( ).../vtprd-parent-cart-validation.php:4290
250.844838439032vtprd_get_cart_html_prices( $called_from = 'process discount', $catalog_or_inline = 'inline' ).../vtprd-parent-cart-validation.php:4441