• Hello, i’ve started facing an issue with payments when customers messaged me there is critical error when they try to place an order.
    I’ve gone through other threads with similar issue and can’t find solution. I haven’t changed anything on my website and problem started occuring. I have turn on test mode for stripe payment gateway and after failed payment i cant even access the cart anymore as it shows me “critical error” straight away.

    I’m including code from “fatal errors” log when trying to open my cart and log from placing order: “

    2025-11-19T19:17:49+00:00 Debug [Shortcode #1] Place Order flow initiated  
    Additional context
    {
    "order_uid": "a6bd5320-992d-4d1e-8e83-c65cd9bae403",
    "store_url": "https://oliacandles.co.uk",
    "last_error": {
    "type": 8192,
    "message": "WooCommerce\PayPalCommerce\Googlepay\Assets\Button::__construct(): Implicitly marking parameter $new_settings as nullable is deprecated, the explicit nullable type must be used instead",
    "file": "/home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-googlepay/src/Assets/Button.php",
    "line": 101
    },
    "backtrace": [
    {
    "file": "/home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php",
    "line": 1301,
    "function": "wc_log_order_step"
    },
    {
    "file": "/home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php",
    "line": 543,
    "function": "process_checkout",
    "class": "WC_Checkout",
    "type": "->"
    },
    {
    "file": "/home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-includes/class-wp-hook.php",
    "line": 324,
    "function": "checkout",
    "class": "WC_AJAX",
    "type": "::"
    }
    ],
    "remote-logging": false
    }
    2025-11-19T15:27:49+00:00 Critical Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php:524  
    Additional context
    {
    "error": {
    "type": 1,
    "file": "/home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php",
    "line": 524
    },
    "remote-logging": true,
    "backtrace": [
    "",
    "#0 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php(524): explode(':', Array)",
    "#1 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/wc-cart-functions.php(471): wc_get_default_shipping_method_for_package(0, Array, Array)",
    "#2 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/src/Utilities/ShippingUtil.php(24): wc_get_chosen_shipping_method_for_package(0, Array)",
    "#3 [internal function]: Automattic\WooCommerce\Utilities\ShippingUtil::{closure:Automattic\WooCommerce\Utilities\ShippingUtil::get_selected_shipping_rates_from_packages():23}(0, Array)",
    "#4 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/src/Utilities/ShippingUtil.php(22): array_map(Object(Closure), Array, Array)",
    "#5 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1543): Automattic\WooCommerce\Utilities\ShippingUtil::get_selected_shipping_rates_from_packages(Array)",
    "#6 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1517): WC_Cart->get_chosen_shipping_methods(Array)",
    "#7 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(352): WC_Cart->calculate_shipping()",
    "#8 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(856): WC_Cart_Totals->get_shipping_from_cart()",
    "#9 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(148): WC_Cart_Totals->calculate_shipping_totals()",
    "#10 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(138): WC_Cart_Totals->calculate()",
    "#11 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1465): WC_Cart_Totals->__construct(Object(WC_Cart))",
    "#12 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/essential-addons-for-elementor-lite/includes/Template/Woocommerce/Checkout/Woo_Checkout_Helper.php(390): WC_Cart->calculate_totals()",
    "#13 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-content/plugins/essential-addons-for-elementor-lite/includes/Traits/Ajax_Handler.php(571): Essential_Addons_Elementor\Classes\AllTraits::checkout_order_review_default(Array)",
    "#14 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-includes/class-wp-hook.php(324): Essential_Addons_Elementor\Classes\Bootstrap->woo_checkout_update_order_review('')",
    "#15 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)",
    "#16 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)",
    "#17 /home/ukggnlingg/domains/oliacandles.co.uk/public_html/wp-admin/admin-ajax.php(207): do_action('wp_ajax_nopriv_...')",
    "#18 {main}",
    "thrown"
    ]
    }
Viewing 1 replies (of 1 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @stranger95,

    Thank you for reaching out and for providing the logs. I understand how issues like this can be frustrating.

    After reviewing the logs, it appears that the plugin Essential Addons for Elementor Lite is causing the conflict. For some reason, this plugin is calling WooCommerce checkout functions, which seems to be interfering with normal WooCommerce operations.

    Could you try temporarily deactivating the plugin and see if the issue persists?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.