Skip to content

Error 500 on opening subscription form.

Hi,

When trying to open a subscription form, an error 500 shows. Please help me with a solution.

[proxy_fcgi:error [pid 1020645:tid 1020902 [client 83.136.197.170:0 AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function putenv() in /home/1481307.cloudwaysapps.com/djzxhxc.............cloudwaysapps.com/djzxhxcmdz/public_html/subscription.php(102): set_locale()n#1 {main}n thrown in /home/1481307.cloudwaysapps.com/djzxhxcmdz/public_html/includes/helpers/locale.php on line 10', referer: https://nieuwsbrief.app/subscribers?i=1&l=1

Thanks,
Bouke

Comments

  • Hi,

    The error you’re seeing indicates that the putenv() function is not available on your server, which is required by Sendy to set locale settings. This usually happens if your PHP configuration disables certain functions for security reasons.

    To resolve this, please check your php.ini and ensure that putenv is not listed under disable_functions. If you’re on a managed hosting environment, you may need to contact your hosting provider and ask them to enable putenv() for your PHP installation.

    Once putenv() is enabled, the subscription form should work without showing the error.

    Best regards,
    Ben

This discussion has been closed.