SOLVED [CPANEL-23516] Use of undefined constant roundcube errors

Wabun

Well-Known Member
Oct 6, 2012
89
5
8
Antwerpen
cPanel Access Level
Root Administrator
Code:
[2018-12-09 00:35:44 +0000] info [webmaild] [fcgi] PHP message: PHP Warning:  Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
PHP message: PHP Warning:  Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
PHP message: PHP Warning:  Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
PHP message: PHP Warning:  Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
PHP message: PHP Warning:  Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
PHP message: PHP Warning:  Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
 
Last edited by a moderator:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @Wabun,

This is fixed as part of Roundcube version 1.3.7:

Fix PHP Warning: Use of undefined constant IDNA_DEFAULT on systems without php-intl (#6244)
Internal case CPANEL-23516 is open to update the version of Roundcube included with cPanel & WHM to version 1.3.7. I'll monitor this case and update this thread once the new version is published.

Thanks!
 

OzPenguin

Registered
Jun 6, 2016
1
0
1
Australia
cPanel Access Level
Root Administrator
This is now happening in the "STABLE" v76.0.15

/usr/local/cpanel/logs/error_log:
PHP message: PHP Warning: Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
PHP message: PHP Warning: Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908
PHP message: PHP Warning: Use of undefined constant IDNA_DEFAULT - assumed 'IDNA_DEFAULT' (this will throw an Error in a future version of PHP) in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_utils.php on line 908

Thousands of occurences, repeating in the log and being emailed through every hour that someone touches roundcube. I don't consider this "STABLE"
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @OzPenguin,

This is fixed in cPanel & WHM version 78. I don't have a specific time frame to offer on when version 78 will make it's way to the STABLE release tier, but it's expected for release to the CURRENT release tier within the next couple of weeks.

I'll update this thread as soon as version 78 reaches the CURRENT tier.

Thank you.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

Version 78 is tentatively planned for publication to the RELEASE tier later this week and includes the following case:

Fixed case CPANEL-23516: Update cpanel-roundcubemail to 1.3.7.

Thank you.