( ! ) 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.0000 | 356840 | {main}( ) | .../index.php:0 |
2 | 0.0000 | 357152 | require( '/var/www/olivaclanworld.es/htdocs/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0001 | 357568 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.0001 | 358376 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-config.php ) | .../wp-load.php:50 |
5 | 0.0001 | 359792 | require_once( '/var/www/olivaclanworld.es/htdocs/wp-settings.php ) | .../wp-config.php:168 |
6 | 1.7082 | 96746872 | do_action( $hook_name = 'wp_loaded' ) | .../wp-settings.php:600 |
7 | 1.7082 | 96747248 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:470 |
8 | 1.7082 | 96747248 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:327 |
9 | 1.7178 | 97387056 | WC_Form_Handler::add_to_cart_action( $url = '' ) | .../class-wp-hook.php:303 |
10 | 1.7435 | 97578352 | WC_Form_Handler::add_to_cart_handler_simple( $product_id = 1320 ) | .../class-wc-form-handler.php:796 |
11 | 1.7528 | 97708176 | WC_Cart->add_to_cart( $product_id = 1320, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ) | .../class-wc-form-handler.php:824 |
12 | 1.7547 | 97718848 | do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('2a50e9c2d6b89b95bcb416d6857f8b45', 1320, 1, 0, [], []) ) | .../class-wc-cart.php:1276 |
13 | 1.7547 | 97719224 | WP_Hook->do_action( $args = [0 => '2a50e9c2d6b89b95bcb416d6857f8b45', 1 => 1320, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../plugin.php:470 |
14 | 1.7547 | 97719224 | WP_Hook->apply_filters( $value = '', $args = [0 => '2a50e9c2d6b89b95bcb416d6857f8b45', 1 => 1320, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../class-wp-hook.php:327 |
15 | 1.7550 | 97722176 | WC_Cart->calculate_totals( ) | .../class-wp-hook.php:301 |
16 | 1.7749 | 97970048 | 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.7749 | 97970424 | 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.7749 | 97970424 | 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.7776 | 97968640 | 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.7802 | 97968640 | do_action( $hook_name = 'woocommerce_cart_updated' ) | .../class-wc-cart-session.php:234 |
21 | 1.7802 | 97969016 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:470 |
22 | 1.7802 | 97969016 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:327 |
23 | 1.7802 | 97969392 | VTPRD_Parent_Cart_Validation->vtprd_cart_updated( '' ) | .../class-wp-hook.php:303 |
24 | 1.7804 | 97967792 | VTPRD_Parent_Cart_Validation->vtprd_process_discount( ) | .../vtprd-parent-cart-validation.php:4290 |
25 | 1.7809 | 97968256 | vtprd_get_cart_html_prices( $called_from = 'process discount', $catalog_or_inline = 'inline' ) | .../vtprd-parent-cart-validation.php:4441 |