3rdparty Roundcube service is writing a large amount of data to error.log and is causing I/O load on writes.
Hello.
The external Roundcube service is writing a large number of lines to the error file when users are logged into webmail, even though you have configured php.ini so that errors related to E_DEPRECATED are not logged.
Could you please configure it in such a way that no E_DEPRECATED warnings are ever written to the error_log files?
roundcube location:
/usr/local/cpanel/base/3rdparty/roundcube/
php.ini location:
/usr/local/cpanel/3rdparty/php/84/etc/php.ini
php.ini
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
log_errors = On
errors:
[13-Apr-2026 08:37:53 Europe/Ljubljana] PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_mime_decode.php on line 268
how to reproducte:
Log in to Roundcube via cPanel
Go to the user’s /log directory and open the .php.error.log file
Thank you!
-
Hey there! What cPanel version are you using? This has been resolved as part of https://support.cpanel.net/hc/en-us/articles/36744671529111-PHP-Deprecated-warnings-when-taking-actions-in-Roundcube since version 132.0.10 so if you're on an older version you may just need to update.
0 -
Latest.
I got this error "
PHP Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_session.php on line 119
" in 134.0.16
0 -
Are there multiple entries for that? If so, we'd likely need to see a ticket to determine if this is related to the previous fix or not.
0 -
Yes! On each login in RoundCube it create around 3 lines. Error logs are full of these lines.
I already created ticked.
Answer "We've opened an internal case for our development team to investigate this further. "
0 -
I do see that CPANEL-52706 has been created to address these. I've linked this thread to the case so I'll post once I have more details!
0
Please sign in to leave a comment.
Comments
5 comments