SYMPTOM
When creating or editing a page with Chinese characters in the page name
(e.g., 關於我們) while $config->pageNameCharset = "UTF8" and
$config->pageNameWhitelist = "" (empty), a fatal error occurs:
Fatal Error: Uncaught ValueError: idn_to_ascii(): Argument #1 ($domain)
must not be empty in Sanitizer.php:1138
Environment
PHP 8.4
ProcessWire 2.6.260
SYMPTOM
When creating or editing a page with Chinese characters in the page name
(e.g., 關於我們) while $config->pageNameCharset = "UTF8" and
$config->pageNameWhitelist = "" (empty), a fatal error occurs:
Fatal Error: Uncaught ValueError: idn_to_ascii(): Argument #1 ($domain)
must not be empty in Sanitizer.php:1138
Environment
PHP 8.4
ProcessWire 2.6.260