( ! ) Warning: undefined variable 'Gratis' in /var/www/vhosts/sculpturednails.nl/httpdocs/wp-content/plugins/woocommerce/includes/libraries/class-wc-eval-math.php on line 324 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.1598 | 6105552 | {main}( ) | .../index.php:0 |
2 | 0.1599 | 6105928 | require( '/var/www/vhosts/sculpturednails.nl/httpdocs/wp-blog-header.php ) | .../index.php:17 |
3 | 0.1601 | 6108952 | require_once( '/var/www/vhosts/sculpturednails.nl/httpdocs/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.1602 | 6109360 | require_once( '/var/www/vhosts/sculpturednails.nl/httpdocs/wp-config.php ) | .../wp-load.php:50 |
5 | 0.1610 | 6110832 | require_once( '/var/www/vhosts/sculpturednails.nl/httpdocs/wp-settings.php ) | .../wp-config.php:97 |
6 | 3.7653 | 75563704 | do_action( $hook_name = 'wp_loaded' ) | .../wp-settings.php:645 |
7 | 3.7653 | 75564080 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
8 | 3.7653 | 75564080 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:332 |
9 | 3.8029 | 77361880 | WC_Form_Handler::add_to_cart_action( $url = '' ) | .../class-wp-hook.php:308 |
10 | 3.8216 | 77303864 | WC_Form_Handler::add_to_cart_handler_simple( $product_id = 1573 ) | .../class-wc-form-handler.php:806 |
11 | 3.8327 | 77337032 | WC_Cart->add_to_cart( $product_id = 1573, $quantity = 1, $variation_id = ???, $variation = ???, $cart_item_data = ??? ) | .../class-wc-form-handler.php:834 |
12 | 3.8437 | 77335648 | do_action( $hook_name = 'woocommerce_add_to_cart', ...$arg = variadic('a1afc58c6ca9540d057299ec3016d726', 1573, 1, 0, [], []) ) | .../class-wc-cart.php:1286 |
13 | 3.8437 | 77336024 | WP_Hook->do_action( $args = [0 => 'a1afc58c6ca9540d057299ec3016d726', 1 => 1573, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../plugin.php:517 |
14 | 3.8437 | 77336024 | WP_Hook->apply_filters( $value = '', $args = [0 => 'a1afc58c6ca9540d057299ec3016d726', 1 => 1573, 2 => 1, 3 => 0, 4 => [], 5 => []] ) | .../class-wp-hook.php:332 |
15 | 3.8442 | 77360576 | WC_Cart->calculate_totals( ) | .../class-wp-hook.php:306 |
16 | 3.8514 | 77626136 | WC_Cart_Totals->__construct( $cart = class WC_Cart { public $cart_contents = ['a1afc58c6ca9540d057299ec3016d726' => [...]]; public $removed_cart_contents = []; public $applied_coupons = []; protected $shipping_methods = NULL; 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' => '3.31', 'subtotal_tax' => 0.69, 'shipping_total' => 0, 'shipping_tax' => 0, 'shipping_taxes' => [...], 'discount_total' => 0, 'discount_tax' => 0, 'cart_contents_total' => '3.31', 'cart_contents_tax' => 0.69, '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 | 3.8514 | 77626256 | WC_Cart_Totals->calculate( ) | .../class-wc-cart-totals.php:141 |
18 | 3.8532 | 77728824 | WC_Cart_Totals->calculate_shipping_totals( ) | .../class-wc-cart-totals.php:151 |
19 | 3.8532 | 77728824 | WC_Cart_Totals->get_shipping_from_cart( ) | .../class-wc-cart-totals.php:857 |
20 | 3.8534 | 77730472 | WC_Cart->calculate_shipping( ) | .../class-wc-cart-totals.php:346 |
21 | 3.8553 | 77731224 | WC_Shipping->calculate_shipping( $packages = [0 => ['contents' => [...], 'contents_cost' => 3.30578512, 'applied_coupons' => [...], 'user' => [...], 'destination' => [...], 'cart_subtotal' => 4]] ) | .../class-wc-cart.php:1430 |
22 | 3.8553 | 77731224 | WC_Shipping->calculate_shipping_for_package( $package = ['contents' => ['a1afc58c6ca9540d057299ec3016d726' => [...]], 'contents_cost' => 3.30578512, 'applied_coupons' => [], 'user' => ['ID' => 0], 'destination' => ['country' => 'NL', 'state' => '', 'postcode' => '', 'city' => '', 'address' => '', 'address_1' => '', 'address_2' => ''], 'cart_subtotal' => 4], $package_key = 0 ) | .../class-wc-shipping.php:260 |
23 | 3.8751 | 77896888 | WC_Shipping_Method->get_rates_for_package( $package = ['contents' => ['a1afc58c6ca9540d057299ec3016d726' => [...]], 'contents_cost' => 3.30578512, 'applied_coupons' => [], 'user' => ['ID' => 0], 'destination' => ['country' => 'NL', 'state' => '', 'postcode' => '', 'city' => '', 'address' => '', 'address_1' => '', 'address_2' => ''], 'cart_subtotal' => 4, 'rates' => ['flat_rate:26' => class WC_Shipping_Rate { ... }, 'flat_rate:31' => class WC_Shipping_Rate { ... }]] ) | .../class-wc-shipping.php:348 |
24 | 3.8752 | 77896984 | Yoast_WCSEO_Local_Shipping_Method->calculate_shipping( $package = ['contents' => ['a1afc58c6ca9540d057299ec3016d726' => [...]], 'contents_cost' => 3.30578512, 'applied_coupons' => [], 'user' => ['ID' => 0], 'destination' => ['country' => 'NL', 'state' => '', 'postcode' => '', 'city' => '', 'address' => '', 'address_1' => '', 'address_2' => ''], 'cart_subtotal' => 4, 'rates' => ['flat_rate:26' => class WC_Shipping_Rate { ... }, 'flat_rate:31' => class WC_Shipping_Rate { ... }]] ) | .../abstract-wc-shipping-method.php:257 |
25 | 3.8752 | 77897360 | WC_Shipping_Flat_Rate->evaluate_cost( $sum = 'Gratis', $args = ['qty' => 1, 'cost' => 3.30578512] ) | .../class-wc-shipping-method.php:307 |
26 | 3.8753 | 77900208 | WC_Eval_Math::evaluate( $expr = 'Gratis' ) | .../class-wc-shipping-flat-rate.php:118 |
27 | 3.8753 | 77900704 | WC_Eval_Math::pfx( $tokens = [0 => 'Gratis'], $vars = ??? ) | .../class-wc-eval-math.php:101 |
28 | 3.8753 | 77900928 | WC_Eval_Math::trigger( $msg = 'undefined variable \'Gratis\'' ) | .../class-wc-eval-math.php:301 |
29 | 3.8753 | 77900928 | trigger_error( $message = 'undefined variable \'Gratis\'', $error_type = 512 ) | .../class-wc-eval-math.php:324 |