CRITICAL Uncaught TypeError: PHP 8
-
2022-06-06T12:54:57+00:00 CRITICAL Uncaught TypeError: Cannot access offset of type string on string in /plugins/woo-payment-discounts/includes/class-woo-payment-add-discounts.php:83
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): Woo_Payment_Add_Discounts->wpd_add_discount(Object(WC_Cart))
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#2 /wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /plugins/woocommerce/includes/class-wc-cart.php(1885): do_action(‘woocommerce_car…’, Object(WC_Cart))
#4 /plugins/woocommerce/includes/class-wc-cart-totals.php(272): WC_Cart->calculate_fees()
#5 /plugins/woocommerce/includes/class-wc-cart-totals.php(833): WC_Cart_Totals->get_fees_from_cart()
#6 /plugins/woocommerce/includes/class-wc-cart-totals.php(145): WC_Cart_Totals->calculate_fee_totals()
#7 /plugins/woocommerce/includes/class-wc-cart-totals.php(134): WC_Cart_Totals->calculate()
- The topic ‘CRITICAL Uncaught TypeError: PHP 8’ is closed to new replies.