( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0003 | 357320 | {main}( ) | .../index.php:0 |
2 | 0.0006 | 358640 | require( '/var/www/olivaclanworld.es/htdocs/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0011 | 368248 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.0014 | 378424 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-config.php ) | .../wp-load.php:50 |
5 | 0.0034 | 444032 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-settings.php ) | .../wp-config.php:168 |
6 | 1.3931 | 123296440 | do_action( $hook_name = 'wp_loaded' ) | .../wp-settings.php:600 |
7 | 1.3931 | 123296816 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:470 |
8 | 1.3931 | 123296816 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:327 |
9 | 1.4008 | 123936280 | WC_Form_Handler::add_to_cart_action( $url = '' ) | .../class-wp-hook.php:303 |
10 | 1.4100 | 124062080 | WC_Form_Handler::add_to_cart_handler_simple( $product_id = 1320 ) | .../class-wc-form-handler.php:796 |
11 | 1.4186 | 124257288 | WC_Cart->add_to_cart( $product_id = 1320, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ) | .../class-wc-form-handler.php:824 |
12 | 1.4203 | 124267960 | do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('2a50e9c2d6b89b95bcb416d6857f8b45', 1320, 1, 0, [], []) ) | .../class-wc-cart.php:1276 |
13 | 1.4203 | 124268336 | WP_Hook->do_action( $args = [0 => '2a50e9c2d6b89b95bcb416d6857f8b45', 1 => 1320, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../plugin.php:470 |
14 | 1.4203 | 124268336 | WP_Hook->apply_filters( $value = '', $args = [0 => '2a50e9c2d6b89b95bcb416d6857f8b45', 1 => 1320, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../class-wp-hook.php:327 |
15 | 1.4205 | 124271288 | WC_Cart->calculate_totals( ) | .../class-wp-hook.php:301 |
16 | 1.4381 | 124518944 | do_action( $hook_name = 'woocommerce_after_calculate_totals', ...$arg = variadic(class WC_Cart { public $cart_contents = ['2a50e9c2d6b89b95bcb416d6857f8b45' => [...]]; 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 |
17 | 1.4381 | 124519320 | WP_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 |
18 | 1.4381 | 124519320 | WP_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 |
19 | 1.4406 | 124517536 | WC_Cart_Session->set_session( class WC_Cart { public $cart_contents = ['2a50e9c2d6b89b95bcb416d6857f8b45' => [...]]; 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 |
20 | 1.4422 | 124517536 | do_action( $hook_name = 'woocommerce_cart_updated' ) | .../class-wc-cart-session.php:234 |
21 | 1.4422 | 124517912 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:470 |
22 | 1.4422 | 124517912 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:327 |
23 | 1.4422 | 124518288 | VTPRD_Parent_Cart_Validation->vtprd_cart_updated( '' ) | .../class-wp-hook.php:303 |
24 | 1.4424 | 124516688 | VTPRD_Parent_Cart_Validation->vtprd_process_discount( ) | .../vtprd-parent-cart-validation.php:4290 |
25 | 1.4428 | 124517152 | vtprd_get_cart_html_prices( $called_from = 'process discount', $catalog_or_inline = 'inline' ) | .../vtprd-parent-cart-validation.php:4441 |