( ! ) 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.0001 | 356136 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 356448 | require( '/var/www/olivaclanworld.es/htdocs/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0001 | 356864 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.0001 | 357672 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-config.php ) | .../wp-load.php:50 |
5 | 0.0002 | 359088 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-settings.php ) | .../wp-config.php:168 |
6 | 1.3204 | 60046208 | do_action( $hook_name = 'wp_loaded' ) | .../wp-settings.php:600 |
7 | 1.3204 | 60046584 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:470 |
8 | 1.3204 | 60046584 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:327 |
9 | 1.7293 | 60710624 | WC_Form_Handler::add_to_cart_action( $url = '' ) | .../class-wp-hook.php:303 |
10 | 1.8588 | 60845056 | WC_Form_Handler::add_to_cart_handler_simple( $product_id = 1632 ) | .../class-wc-form-handler.php:796 |
11 | 1.9736 | 61064944 | WC_Cart->add_to_cart( $product_id = 1632, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ) | .../class-wc-form-handler.php:824 |
12 | 1.9784 | 61077696 | do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('0771fc6f0f4b1d7d1bb73bbbe14e0e31', 1632, 1, 0, [], []) ) | .../class-wc-cart.php:1276 |
13 | 1.9784 | 61078072 | WP_Hook->do_action( $args = [0 => '0771fc6f0f4b1d7d1bb73bbbe14e0e31', 1 => 1632, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../plugin.php:470 |
14 | 1.9784 | 61078072 | WP_Hook->apply_filters( $value = '', $args = [0 => '0771fc6f0f4b1d7d1bb73bbbe14e0e31', 1 => 1632, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../class-wp-hook.php:327 |
15 | 1.9790 | 61081024 | WC_Cart->calculate_totals( ) | .../class-wp-hook.php:301 |
16 | 2.0146 | 61266064 | do_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 |
17 | 2.0146 | 61266440 | 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 | 2.0146 | 61266440 | 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 | 2.0197 | 61264120 | WC_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 |
20 | 2.0228 | 61264120 | do_action( $hook_name = 'woocommerce_cart_updated' ) | .../class-wc-cart-session.php:234 |
21 | 2.0228 | 61264496 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:470 |
22 | 2.0228 | 61264496 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:327 |
23 | 2.0228 | 61264872 | VTPRD_Parent_Cart_Validation->vtprd_cart_updated( '' ) | .../class-wp-hook.php:303 |
24 | 2.0231 | 61263272 | VTPRD_Parent_Cart_Validation->vtprd_process_discount( ) | .../vtprd-parent-cart-validation.php:4290 |
25 | 2.0560 | 61263736 | vtprd_get_cart_html_prices( $called_from = 'process discount', $catalog_or_inline = 'inline' ) | .../vtprd-parent-cart-validation.php:4441 |