Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warning: Use of undefined constant IDNA_DEFAULT #6244

Closed
teoberi opened this issue Apr 12, 2018 · 5 comments
Closed

PHP Warning: Use of undefined constant IDNA_DEFAULT #6244

teoberi opened this issue Apr 12, 2018 · 5 comments

Comments

@teoberi
Copy link

teoberi commented Apr 12, 2018

My configuration:
PHP-7.2.4
Roundcube-1.3.6
After updating Roundcube 1.3.5 -> 1.3.6 in mailog the message appears:

Apr 12 09:58:14 mail roundcube: PHP Warning: Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /var/www/htdocs/roundcube/program/lib/Roundcube/rcube_utils.php on line 908

@alecpl
Copy link
Member

alecpl commented Apr 12, 2018

Damn, my fault. If you install php-intl extension it will disappear.

@alecpl
Copy link
Member

alecpl commented Apr 12, 2018

Fixed.

@alecpl alecpl closed this as completed Apr 12, 2018
@alecpl alecpl mentioned this issue Apr 19, 2018
@workpaul
Copy link

I still have the same issue in centos 7.4 with php 7.2.6-1. Any other ideas?

@alecpl
Copy link
Member

alecpl commented Jun 12, 2018

There's only two solutions for this. Install php-intl extension or fix the code as in 8477b881e55.

@workpaul
Copy link

Thanks a lot. Indeed, the problem was related to the php7.2 configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants