Symptoms
When accessing Roundcube, the following error is logged to Roundcube's error log for each user.
CONFIG_TEXT: 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
Cause
These errors are caused by the use of deprecated PHP functions by Roundcube. The warnings can be safely ignored, and do not cause any issues with Roundcube or cPanel.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-52706. Follow our change logs for updates to this case.
Where can I locate the cPanel changelogs?
Resolution
The warnings can be safely ignored and do not cause any issues with Roundcube or cPanel. However, If you would like for these warnings to no longer be logged, the "deprecated" warning can be suppressed in Roundube's configuration.
- Access the command-line as the `root` user via SSH, or using the Terminal in WHM.
-
Edit the Roundcube configuration with your editor of choice:
CONFIG_TEXT: /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php
-
Add the following to this file to supress this warning:
CONFIG_TEXT: error_reporting(E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED);
Comments
0 comments
Article is closed for comments.