Title: bug after php 7.4 upgrade
Last modified: September 29, 2021

---

# bug after php 7.4 upgrade

 *  Resolved [alexfelicioni](https://wordpress.org/support/users/alexfelicioni/)
 * (@alexfelicioni)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/bug-after-php-7-4-upgrade/)
 * I have upgraded the php to 7.4 because i use moutic sistem in the same woocommerce’s
   host.
    after upgrade, my wordpress instalation returns the following error ” 
   there is a critical error in you website” to solve this problem, i need downgrade
   php to 7.3 version or to deactive the woocomerce plugin. so now i have the situation:
   moutic needs 7.4 php version and woocommerce doesnt works with this version, 
   only in 7.3 version. Anybudy knows to do woocomerce works with 7.4 php version?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-after-php-7-4-upgrade%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/bug-after-php-7-4-upgrade/#post-14920479)
 * Hi [@alexfelicioni](https://wordpress.org/support/users/alexfelicioni/),
 * In our [minimum server requirements](https://docs.woocommerce.com/document/server-requirements/),
   we recommend using WooCommerce on PHP 7.4 and above. It might be another tool(
   plugin or theme) that is conflicting with WooCommerce.
 * I would recommend that you do a [conflict test](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
   when on PHP 7.4 as follows:
    * Switch to a default WP theme like Twenty Twenty-
   One. * Disable all plugins * Activate WooCommerce and check whether the site 
   brings any errors * If it doesn’t show any errors, activate your theme and other
   plugins, one by one, checking each time whether the critical error appears.
 * Once you find the tool causing the critical error, you can deactivate it by renaming
   its plugin folder in `/wp-contents/plugins`.
 * If the above does not yield a culprit, please share with us:
    * Could you 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”.  Once you’ve 
   done that, paste it here in your response. * PHP error logs – you can find them
   in the following locations: [https://docs.woocommerce.com/document/finding-php-error-logs/](https://docs.woocommerce.com/document/finding-php-error-logs/)
 * Let us know how it goes.
    Thanks.
 *  Thread Starter [alexfelicioni](https://wordpress.org/support/users/alexfelicioni/)
 * (@alexfelicioni)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/bug-after-php-7-4-upgrade/#post-14924501)
 * I did what you suggested.
    wordpress with clean install, default wordpress theme
   and no active plugin besides woocomerce. this is the message in wordpress debug
 * Fatal error: Out of memory (allocated 25165824) (tried to allocate 94208 bytes)
   in /home/aainfoco/public_html/sites/wp-includes/functions.php on line 5107.
 * i have increased php memory up to 712MB but error persists
 *  Thread Starter [alexfelicioni](https://wordpress.org/support/users/alexfelicioni/)
 * (@alexfelicioni)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/bug-after-php-7-4-upgrade/#post-14924590)
 * in the woocommerce -> status shows this message
 *     ```
       Fatal error: Out of memory (allocated 25165824) (tried to allocate 32768 bytes) in /home/aainfoco/public_html/sites/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php on line 1107
       Há um erro crítico no seu site.
   
       Saiba mais sobre a como resolver problemas do WordPress.
   
       Fatal error: Out of memory (allocated 25165824) (tried to allocate 65536 bytes) in /home/aainfoco/public_html/sites/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler.php on line 122
       ```
   
 *  Thread Starter [alexfelicioni](https://wordpress.org/support/users/alexfelicioni/)
 * (@alexfelicioni)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/bug-after-php-7-4-upgrade/#post-14925653)
 * After any attepts i have restored php to default e now its working fine. thanks

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

The topic ‘bug after php 7.4 upgrade’ 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/)

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)
 * [php7.4](https://wordpress.org/support/topic-tag/php7-4/)
 * [woocomerce](https://wordpress.org/support/topic-tag/woocomerce/)

 * 4 replies
 * 2 participants
 * Last reply from: [alexfelicioni](https://wordpress.org/support/users/alexfelicioni/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/bug-after-php-7-4-upgrade/#post-14925653)
 * Status: resolved