Prestashop: Attempted to call function "idn_to_ascii" from the global namespace.

Created on 21 Sep 2018  路  10Comments  路  Source: PrestaShop/PrestaShop

Describe the bug
When creating new account or changin the order status we get error 500 on mail.php. We send emails by mailjet SMTP and testing of the email send works fine.

Attempted to call function "idn_to_ascii" from the global namespace.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new account
    or
  2. Change order status to one that sends email

Screenshots

When changing order status:
error1

When Creating new account
error2

Additionnal information
PrestaShop version: 1.7.4.2
PHP version: 7.0.25

1.7.4.2 Bug Email FO Fixed

Most helpful comment

Hi @emeagenciadigital,

This issue is occurred due to php-intl extension.
Could you please try to install it, it is required.
Thanks to check and feedback.

Best regards, Khouloud

All 10 comments

Hi @emeagenciadigital,

This issue is occurred due to php-intl extension.
Could you please try to install it, it is required.
Thanks to check and feedback.

Best regards, Khouloud

Hi,

Yes that work. Mark it as solve.

Hi @emeagenciadigital,

Thanks for your feedback.
I close the issue, feel free to open a new one when needed.

Best regards, Khouloud

I'm sorry but during the prestashop installation, no mention of that.

During the "system checking" prestashop should shout it out that the php-intl extention is needed.
Just a though ;)

Hi @o-Chamie-o,

This check is added in the next release PS1.7.5.1.
Heres' the PR: https://github.com/PrestaShop/PrestaShop/pull/11937.
Thanks!

thanks buddy, its really help

I installed php-intl extension and I still have the problem, how can I check my configuration?

Hi @alizeegtd,

This issue is currently closed, can you open a new one with more information about your configuration.
Thanks!

I installed php-intl extension and I still have the problem, how can I check my configuration?

you have to make sure that "extension=php_intl.dll" is enable in php.ini

Instal茅 la extensi贸n php-intl y todav铆a tengo el problema, 驴c贸mo puedo verificar mi configuraci贸n?

debe asegurarse de que "extension = php_intl.dll" est茅 habilitado en php.ini

Thanks!!!!!! You are the best.

Was this page helpful?
0 / 5 - 0 ratings