Title: PHP Fault
Last modified: May 18, 2022

---

# PHP Fault

 *  Resolved [Darren Ellis](https://wordpress.org/support/users/dazsmodels/)
 * (@dazsmodels)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault-2/)
 * 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)

 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault-2/#post-15656235)
 * 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](https://wordpress.org/support/users/dazsmodels/)
 * (@dazsmodels)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault-2/#post-15656272)
 * 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.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault-2/#post-15657636)
 * Hello [@dazsmodels](https://wordpress.org/support/users/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.](https://woocommerce.com/my-account/create-a-ticket/)
 * 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.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault-2/#post-15657636)
 * Status: resolved