Skip to main content

PHP 8.4 - RoundCube - PHP Deprecated MStilkerich\CardDavClient\Config::init():

Comments

3 comments

  • cPRex Jurassic Moderator

    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
  • TechAmigo Support

    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-130

    0
  • studiofaca

    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:

    1. Open Webmail at either:

      • https://your-domain-name/webmail, or

      • https://server-name:2096/

    2. Log in using an email account, for example: info@username.com

    3. 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 119
    0

Please sign in to leave a comment.