Hello,
I am also having a similar issue, I have submitted an issue about this on github. I believe it is because of the most reason version of php has finally stopped allowing the use of a deprecated function, I have checked the php documents and this was flagged as deprecated months ago and people continued to use it.
It is probably something the developers need to patch, but if your roundcube is working there is nothing to worry about

Polarian