Error:

Deprecated function: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator->validate() (line 50 of core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php).

@see http://php.net/manual/en/function.idn-to-ascii.php

7.2.0 INTL_IDNA_VARIANT_2003 has been deprecated; use INTL_IDNA_VARIANT_UTS46 instead.

Comments

super_romeo created an issue. See original summary.

cilefen’s picture

Status: Active » Postponed (maintainer needs more info)

LinkExternalProtocolsConstraintValidator doesn't have 50 lines in the 8.6.x branch. INTL_IDNA_VARIANT_2003 isn't referenced in Drupal. Is Drupal core modified on this site?

super_romeo’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

@Cilefen, you are right. It is in patch.

pguillard’s picture

This has been introduced by this patch https://www.drupal.org/node/2652236