idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated

Discussion in 'General discussions' started by Joseph, May 15, 2019.

  1. Joseph

    Joseph Member

    Joined:
    Mar 12, 2015
    Messages:
    60
    Likes Received:
    3
    S.E:
    2019-10-25 20:28:14
    L.T:
    Regular
    L.C:
    2
    I tried to validate the server and there is nothing.

    So I turn on debug mode and I get this error:

    idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated

    It seems to come from this part of the script:

    idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated
    (/home/XXXXXXX/public_html/mw/apps/common/components/validators/CEmailValidator.php:200)

    I run PHP7.2 and I think idn_to_ascii() is deprecated and I can't downgrade to 5.6. Any help?
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,048
    Likes Received:
    2,344
    Hello,

    This issue has been fixed a long time ago, which makes me think you're using a older version of the app, so you have to upgrade.

    Thanks.
     
  3. Joseph

    Joseph Member

    Joined:
    Mar 12, 2015
    Messages:
    60
    Likes Received:
    3
    S.E:
    2019-10-25 20:28:14
    L.T:
    Regular
    L.C:
    2
    OK, I got it. Thanks.
     

Share This Page