TIKTIK
Member
- Feb 1, 2020
- 57
- 17
- 8
Hello,
I`m using WordPress last version with PHP 7.4.
I`m getting a fatal error every time I`m trying to upgrade to PHP 8.0.
Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/mydomain/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37 Stack trace: #0 /www/wwwroot/mydomain/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php(49): WC_Regenerate_Images_Request->__construct() #1 /www/wwwroot/mydomain/wp-includes/class-wp-hook.php(307): WC_Regenerate_Images::init() #2 /www/wwwroot/mydomain/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /www/wwwroot/mydomain/wp-includes/plugin.php(476): WP_Hook->do_action() #4 /www/wwwroot/mydomain/wp-settings.php(598): do_action() #5 /www/wwwroot/mydomain/wp-config.php(95): require_once('...') #6 /www/wwwroot/mydomain/wp-load.php(50): require_once('...') #7 /www/wwwroot/mydomain/wp-blog-header.php(13): require_once('...') #8 /www/wwwroot/mydomain/index.php(17): require('...') #9 {main} thrown in /www/wwwroot/mydomain/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php on line 37
There has been a critical error on your website.
Any one know how to solve it?
I`m using WordPress last version with PHP 7.4.
I`m getting a fatal error every time I`m trying to upgrade to PHP 8.0.
Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/mydomain/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37 Stack trace: #0 /www/wwwroot/mydomain/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php(49): WC_Regenerate_Images_Request->__construct() #1 /www/wwwroot/mydomain/wp-includes/class-wp-hook.php(307): WC_Regenerate_Images::init() #2 /www/wwwroot/mydomain/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /www/wwwroot/mydomain/wp-includes/plugin.php(476): WP_Hook->do_action() #4 /www/wwwroot/mydomain/wp-settings.php(598): do_action() #5 /www/wwwroot/mydomain/wp-config.php(95): require_once('...') #6 /www/wwwroot/mydomain/wp-load.php(50): require_once('...') #7 /www/wwwroot/mydomain/wp-blog-header.php(13): require_once('...') #8 /www/wwwroot/mydomain/index.php(17): require('...') #9 {main} thrown in /www/wwwroot/mydomain/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php on line 37
There has been a critical error on your website.
Any one know how to solve it?