Roundcube ssl_mode error

I’m using php 8.1 and roundcube. What’s wrong?
Roundcube works well but every page refresh it logs next error:

PHP Warning: Undefined array key "ssl_mode" in /var/lib/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 1053