• Resolved filipbohac

    (@filipbohac)


    Hello i got this fatal error, and now i don′t know how to solve it.

    Fatal error: Uncaught Error: Call to undefined function putenv() in /srv/www/oriskovna.cz/www/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37 Stack trace: #0 /srv/www/oriskovna.cz/www/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php(49): WC_Regenerate_Images_Request->__construct() #1 /srv/www/oriskovna.cz/www/wp-includes/class-wp-hook.php(287): WC_Regenerate_Images::init('') #2 /srv/www/oriskovna.cz/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /srv/www/oriskovna.cz/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /srv/www/oriskovna.cz/www/wp-settings.php(557): do_action('init') #5 /srv/www/oriskovna.cz/www/wp-config.php(77): require_once('/srv/www/orisko...') #6 /srv/www/oriskovna.cz/www/wp-load.php(37): require_once('/srv/www/orisko...') #7 /srv/www/oriskovna.cz/www/wp-admin/admin.php(34): require_once('/srv/www/orisko...') #8 /srv/www/oriskovna.cz/www/wp-admin/user-edit.php(10): require_once('/srv/www/orisko...') #9 {main} thrown in /srv/www/oriskovna.cz/www/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php on line 37

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Before you start

    1. First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like?Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
    2. Second, I would suggest installing a plugin called?Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.

    I hope that helps! ??

    laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Howdy,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now for the overall health of the forums. Please feel free to open a new one if you have any further questions.

    Cheers!

    I got the same Error When I had set php version to 8
    but after downgrading to php 7.3 its gone

    Hi, same problem!
    PHP 8.0.1
    class-wc-regenerate-images-request.php

    all plugins are turn off
    theme Avada 7.2.1

    wordpress after reinstal

    maybe it is problem with hosting ngis confiq?
    or it is woocomerce problem?

    thanks

    I’m having the same issue.

    Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/topnotch.vip/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37 Stack trace: #0 /www/wwwroot/topnotch.vip/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php(49): WC_Regenerate_Images_Request->__construct() #1 /www/wwwroot/topnotch.vip/wp-includes/class-wp-hook.php(292): WC_Regenerate_Images::init() #2 /www/wwwroot/topnotch.vip/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #3 /www/wwwroot/topnotch.vip/wp-includes/plugin.php(484): WP_Hook->do_action() #4 /www/wwwroot/topnotch.vip/wp-settings.php(560): do_action() #5 /www/wwwroot/topnotch.vip/wp-config.php(81): require_once(‘…’) #6 /www/wwwroot/topnotch.vip/wp-load.php(37): require_once(‘…’) #7 /www/wwwroot/topnotch.vip/wp-admin/admin.php(34): require_once(‘…’) #8 /www/wwwroot/topnotch.vip/wp-admin/plugins.php(10): require_once(‘…’) #9 {main} thrown in /www/wwwroot/topnotch.vip/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php on line 37
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    Whole site is inaccessible, please help!

    I’m using storefront theme and only woocommerce activated.

    • This reply was modified 3 years, 6 months ago by ilaaron. Reason: theme & plugins

    Edit: This is a compatibility error with WooCommerce and PHP 8.0! When will WooCommerce be updated to support PHP 8.0?

    I have the same problem. PHP 8.1 + WooCommerce 5.3.0 + WordPress 5.7.2.

    Everithing works fone on PHP 7.4, but after switching to 8.1 it doesnt work.

    @kaznim @ilaaron @fulminantly1 @superbotics
    Please do not jump into other topics and detract from their problem. If the troubleshooting already posted made no difference for you, then, as per the Forum FAQ, please post your own topic. A lot more people will see your post, and that way you stand a good chance of getting the assistance you want. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole.
    I’m closing this thread now.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Uncaught Error’ is closed to new replies.