• Resolved alexfelicioni

    (@alexfelicioni)


    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @alexfelicioni,

    In our minimum 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 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/

    Let us know how it goes.
    Thanks.

    Thread Starter alexfelicioni

    (@alexfelicioni)

    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

    (@alexfelicioni)

    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

    (@alexfelicioni)

    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.