( ! ) Warning: in_array() expects parameter 2 to be array, null given in /home/jekkelga/public_html/wp-content/themes/astra/functions.php on line 216 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.1459 | 5594888 | {main}( ) | .../index.php:0 |
2 | 0.1459 | 5595248 | require( '/home/jekkelga/public_html/wp-blog-header.php ) | .../index.php:17 |
3 | 0.1461 | 5598256 | require_once( '/home/jekkelga/public_html/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.1462 | 5598656 | require_once( '/home/jekkelga/public_html/wp-config.php ) | .../wp-load.php:50 |
5 | 0.1471 | 5600112 | require_once( '/home/jekkelga/public_html/wp-settings.php ) | .../wp-config.php:83 |
6 | 2.0674 | 48844936 | do_action( $hook_name = 'wp_loaded' ) | .../wp-settings.php:665 |
7 | 2.0674 | 48845312 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
8 | 2.0674 | 48845312 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:348 |
9 | 2.0778 | 49310784 | WC_Form_Handler::add_to_cart_action( $url = '' ) | .../class-wp-hook.php:324 |
10 | 2.0840 | 49407496 | WC_Form_Handler::add_to_cart_handler_simple( $product_id = 6652 ) | .../class-wc-form-handler.php:806 |
11 | 2.0841 | 49408248 | WC_Cart->add_to_cart( $product_id = 6652, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ) | .../class-wc-form-handler.php:834 |
12 | 2.0848 | 49417680 | do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('e1ab840a08f6e72d3baf13622bef60ad', 6652, 1, 0, [], []) ) | .../class-wc-cart.php:1286 |
13 | 2.0848 | 49418056 | WP_Hook->do_action( $args = [0 => 'e1ab840a08f6e72d3baf13622bef60ad', 1 => 6652, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../plugin.php:517 |
14 | 2.0848 | 49418056 | WP_Hook->apply_filters( $value = '', $args = [0 => 'e1ab840a08f6e72d3baf13622bef60ad', 1 => 6652, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../class-wp-hook.php:348 |
15 | 2.0850 | 49422032 | WC_Cart->calculate_totals( ) | .../class-wp-hook.php:322 |
16 | 2.0850 | 49423040 | WC_Cart_Totals->__construct( $cart = class WC_Cart { public $cart_contents = ['e1ab840a08f6e72d3baf13622bef60ad' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = []; 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' => '100000', 'subtotal_tax' => 0, 'shipping_total' => '0', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '100000', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; 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:1408 |
17 | 2.0850 | 49423160 | WC_Cart_Totals->calculate( ) | .../class-wc-cart-totals.php:141 |
18 | 2.0895 | 49452768 | WC_Cart_Totals->calculate_fee_totals( ) | .../class-wc-cart-totals.php:152 |
19 | 2.0895 | 49452768 | WC_Cart_Totals->get_fees_from_cart( ) | .../class-wc-cart-totals.php:840 |
20 | 2.0896 | 49452768 | WC_Cart->calculate_fees( ) | .../class-wc-cart-totals.php:279 |
21 | 2.0896 | 49452768 | do_action( $hook_name = 'woocommerce_cart_calculate_fees', ...$arg = variadic(class WC_Cart { public $cart_contents = ['e1ab840a08f6e72d3baf13622bef60ad' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = []; 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' => '100000', 'subtotal_tax' => 0, 'shipping_total' => '0', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '100000', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; 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:1915 |
22 | 2.0896 | 49453144 | 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:517 |
23 | 2.0896 | 49453144 | 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:348 |
24 | 2.1017 | 49720080 | shipping_method_based_fee( $cart = class WC_Cart { public $cart_contents = ['e1ab840a08f6e72d3baf13622bef60ad' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = []; 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' => '100000', 'subtotal_tax' => 0, 'shipping_total' => '0', 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '100000', 'cart_contents_tax' => 0, 'cart_contents_taxes' => [...], 'fee_total' => 0, 'fee_tax' => 0, 'fee_taxes' => [...], 'total' => 0, 'total_tax' => 0]; protected $session = class WC_Cart_Session { protected $cart = ... }; protected $fees_api = class WC_Cart_Fees { private $fees = [...]; 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:324 |
25 | 2.1017 | 49720080 | in_array( $needle = 'flat_rate:15', $haystack = NULL ) | .../functions.php:216 |