• Resolved Darren Ellis

    (@dazsmodels)


    hi i am not sure if this pre order or wc stripe at fault

    2022-05-18T00:07:04+00:00 CRITICAL Uncaught Error: Call to a member function is_type() on bool in /home/dazsmode/public_html/wp-content/plugins/woocommerce-pre-orders/includes/class-wc-pre-orders-product.php:322
    Stack trace:
    #0 /home/dazsmode/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-pre-orders.php(113): WC_Pre_Orders_Product::product_is_charged_upfront(false)
    #1 /home/dazsmode/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php(1017): WC_Stripe_Payment_Gateway->is_pre_order_product_charged_upfront(NULL)
    #2 /home/dazsmode/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php(344): WC_Stripe_UPE_Payment_Gateway->is_payment_needed(70199)
    #3 /home/dazsmode/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php(250): WC_Stripe_UPE_Payment_Gateway->javascript_params()
    #4 /home/dazsmode/public_html in /home/dazsmode/public_html/wp-content/plugins/woocommerce-pre-orders/includes/class-wc-pre-orders-product.php on line 322

    Please can you advise

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    In order to take a better look, please share a copy of your site’s System Status, you can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. 

    Let us know, thank you.

    Thread Starter Darren Ellis

    (@dazsmodels)

    Hi ok
    I will get that for you

    I have now worked out what triggered it

    In the settings it was ticked for new checkout experience and then couses error

    Do you still need site status

    Mirko P.

    (@rainfallnixfig)

    Hello @dazsmodels,

    Thank you for the update!

    Be sure you’re running the latest versions of WooCommerce Stripe and WooCommerce Pre-Orders plugins.

    If the critical error persists when the new checkout experience is enabled please create a ticket at WooCommerce.com > My Account > Support.

    You may need to log into your WooCommerce.com account before you can access that page.

    Also, don’t forget to share your System Status and include a link to this forum thread, so that we can keep track of what’s already been done. The information included will help our support team narrow down the issue much quicker.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Fault’ is closed to new replies.