• Resolved chinesetong

    (@chinesetong)


    When I adtive the plugin woocommerce, it shows FATAL ERROR as followed:

    Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/hmhealth.cn/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php:37 Stack trace: #0 /www/wwwroot/hmhealth.cn/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php(49): WC_Regenerate_Images_Request->__construct() #1 /www/wwwroot/hmhealth.cn/wp-includes/class-wp-hook.php(307): WC_Regenerate_Images::init() #2 /www/wwwroot/hmhealth.cn/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #3 /www/wwwroot/hmhealth.cn/wp-includes/plugin.php(476): WP_Hook->do_action() #4 /www/wwwroot/hmhealth.cn/wp-settings.php(598): do_action() #5 /www/wwwroot/hmhealth.cn/wp-config.php(96): require_once('...') #6 /www/wwwroot/hmhealth.cn/wp-load.php(50): require_once('...') #7 /www/wwwroot/hmhealth.cn/wp-admin/admin.php(34): require_once('...') #8 /www/wwwroot/hmhealth.cn/wp-admin/index.php(10): require_once('...') #9 {main} thrown in /www/wwwroot/hmhealth.cn/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images-request.php on line 37
    
    此站点遇到了致命错误,请查看您站点管理员电子邮箱中收到的邮件来获得指引。
    
    了解有关对WordPress进行故障排除的更多信息。

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

Viewing 1 replies (of 1 total)
  • Plugin Support Daniyal Ahmed (a11n)

    (@daniyalahmedk)

    Hi there,

    Thanks for reaching out.

    It sounds like putenv function is being deliberately disabled via the disable_functions directive.

    You have to remove ‘putenv’ function from the PHP function blacklist. Can you please reach out to your hosting provider and see if they can remove this function from the blacklist?

    Let me know how it goes!

    Best,

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Uncaught Error:’ is closed to new replies.