PHP 8.4 - RoundCube - PHP Deprecated MStilkerich\CardDavClient\Config::init():
Hello.
We got this error in "logs/error_log" when we use PHP 8.4 as default. Any idea how to solve? Can you upgrade roundCube of the server with new cPanel release?
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
PHP Deprecated: MStilkerich\CardDavClient\Config::init(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/cpanel/base/3rdparty/roundcube/plugins/carddav/vendor/mstilkerich/carddavclient/src/Config.php on line 72
PHP Deprecated: MStilkerich\CardDavClient\Config::init(): Implicitly marking parameter $httplogger as nullable is deprecated, the explicit nullable type must be used instead in /usr/local/cpanel/base/3rdparty/roundcube/plugins/carddav/vendor/mstilkerich/carddavclient/src/Config.php on line 72
-
Hey there! The root cause of your issue is likely the details mentioned here:
https://support.cpanel.net/hc/en-us/articles/360058715973-Policy-server-HTTP-error
Can you check and confirm that is the case with your machine?
0 -
Hello,
If the above documentation not resolved the issue, could you please let me know whether you’re using CloudLinux OS? Also, have there been any recent cPanel updates on the server?
https://support.cpanel.net/hc/en-us/articles/34054139937687-Deprecated-warnings-populating-user-s-php-log-after-update-to-cPanel-version-1300 -
We do not use CloudLinux OS.
System Information:
-
WHM/cPanel version: 130.0.14 (latest release)
-
Webmail: Roundcube Webmail 1.6.11
-
Default PHP version for all users: PHP 8.4
Steps to Reproduce:
-
Open Webmail at either:
-
https://your-domain-name/webmail, or -
https://server-name:2096/
-
-
Log in using an email account, for example:
info@username.com -
Check the PHP error log file located at:
/home/<username>/logs/.php.error.log
Notes:
-
The error appears to be related to the Roundcube version and PHP version compatibility.
-
Roundcube version 1.7 is expected to include full support for PHP 8.4, but it has not yet been released.
→ More details: Roundcube Version History - The exact PHP version used by the Roundcube instance included with cPanel is not known.
Error:
[08-Oct-2025 18:19:26] 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
[08-Oct-2025 18:19:27] Schema updates detected in /usr/local/cpanel/base/3rdparty/roundcube/plugins/libkolab/SQL/sqlite.initial.sql, applying now...
[08-Oct-2025 18:19:27] Schema updates detected in /usr/local/cpanel/base/3rdparty/roundcube/plugins/calendar/drivers/database/SQL/sqlite.initial.sql, applying now...
[08-Oct-2025 18:19:27] Schema updates detected in /usr/local/cpanel/base/3rdparty/roundcube/plugins/calendar/drivers/caldav/SQL/sqlite.initial.sql, applying now...
[08-Oct-2025 18:19:27] 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
[08-Oct-2025 18:19:28] 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
[08-Oct-2025 18:19:28] 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
[08-Oct-2025 18:20:28] 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 1190 -
Please sign in to leave a comment.
Comments
3 comments