Skip to content

PHP extension intl - Polylang Plugin - PHP fatal error call to undefined function idn_to_ascii() #481

@schroedingerdb

Description

@schroedingerdb

Wordpress image: wordpress:5.4.0-php7.2-fpm
Polylang Plugin version: 2.7.0.1

I get a PHP fatal by using the polylang plugin because of the missing php module php7-intl.
Is it possible to add the intl module to the docker container?

2020/04/08 10:26:07 [error] 6#6: *44 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function idn_to_ascii() in /var/www/html/wp-content/plugins/polylang/include/links-domain.php:87
Stack trace:
#0 /var/www/html/wp-content/plugins/polylang/include/links-domain.php(22): PLL_Links_Domain->get_hosts()
#1 /var/www/html/wp-content/plugins/polylang/include/model.php(564): PLL_Links_Domain->__construct(Object(PLL_Model))
#2 /var/www/html/wp-content/plugins/polylang/include/class-polylang.php(238): PLL_Model->get_links_model()
#3 /var/www/html/wp-includes/class-wp-hook.php(287): Polylang->init('')
#4 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#5 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 /var/www/html/wp-settings.php(409): do_action('plugins_loaded')
#7 /var/www/html/wp-config.php(91): require_once('/var/www/html/w...')
#8 /var/www/html/wp-load.php(37): require_once('/var/www/html/w...')
#9 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...')" while reading response header from upstream, client: 95.90.241.251, server: mysite, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mysite"

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or featurequestionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions