Title: Php fault
Last modified: May 10, 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/)
 * Hello
 * Customers have been gettings this message.
 *     ```
       Fatal error: 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(66127) #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
       There has been a critical error on this website.
       ```
   
 * My host company habe advised its got php missing and your are the people to advise

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

 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault/#post-15633653)
 * Hello [@dazsmodels](https://wordpress.org/support/users/dazsmodels/),
 * Thank you for getting in touch!
 * The fatal error appears to be related to the [WooCommerce Pre-Orders](https://woocommerce.com/products/woocommerce-pre-orders/)
   plugin. Can you check if you’re running the latest version of this plugin?
 * If that doesn’t resolve the issue, please contact us at [WooCommerce.com > My Account > Support](https://woocommerce.com/my-account/create-a-ticket/?form=ticket).
   You may need to log into your WooCommerce.com account before you can access that
   page.
 * We will be able to help you further there.
 * Cheers.
 *  Thread Starter [Darren Ellis](https://wordpress.org/support/users/dazsmodels/)
 * (@dazsmodels)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault/#post-15633670)
 * Thanks for responding to me
 * Unfortunately it is running the latest version.
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Darren Ellis](https://wordpress.org/support/users/dazsmodels/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/php-fault/#post-15633670)
 * Status: resolved