Title: Php Update Error
Last modified: February 16, 2022

---

# Php Update Error

 *  Resolved [cihatcetintr](https://wordpress.org/support/users/cihatcetintr/)
 * (@cihatcetintr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-update-error-2/)
 * Hi,
 * I get error when i upgrade php version to 8.0
 * Error:
 * **There has been a critical error on this website.**
 * What could be the reason?

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

 *  [Abiola Ogodo](https://wordpress.org/support/users/oaoyadeyi/)
 * (@oaoyadeyi)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-update-error-2/#post-15373196)
 * [@cihatcetintr](https://wordpress.org/support/users/cihatcetintr/)
 * Could you [enable debugging](https://wordpress.org/support/article/debugging-in-wordpress/)
   to get more information about the critical error?
 *  Thread Starter [cihatcetintr](https://wordpress.org/support/users/cihatcetintr/)
 * (@cihatcetintr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-update-error-2/#post-15373243)
 * Hi,
 * Debugging is already enabled
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-update-error-2/#post-15373275)
 * Hello,
 * Sorry to hear about this.
 * As a first step you can perform a conflict test, you can perform the following
   steps:
    - Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/)
    - Disable all plugins except for WooCommerce
    - Repeat the action that is causing the problem
 * You can find a more detailed explanation on how to do a conflict test [here.](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * Let us know how that goes.
 *  Thread Starter [cihatcetintr](https://wordpress.org/support/users/cihatcetintr/)
 * (@cihatcetintr)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-update-error-2/#post-15373591)
 * Hi,
    First of all thank you. I found the cause of the error. The code snipped
   caused it.But I couldn’t quite understand what to fix.Can you help me ?
 * Error Page: [https://imgur.com/a/4kyD3S9](https://imgur.com/a/4kyD3S9)
    -  This reply was modified 4 years, 3 months ago by [cihatcetintr](https://wordpress.org/support/users/cihatcetintr/).
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-update-error-2/#post-15373624)
 * Hi [@cihatcetintr](https://wordpress.org/support/users/cihatcetintr/),
 * Your screenshot won’t load for me, however, we’re not able to assist with custom
   coding on this forum per our [Support Policy](https://woocommerce.com/support-policy/).
 * If you do require more help to fix the actual coding, we’d recommend hiring a
   developer or one of the customization experts listed at [https://woocommerce.com/customizations/](https://woocommerce.com/customizations/).
 * Cheers.

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

The topic ‘Php Update Error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

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