Author Topic: PHP Deprecated: Return type  (Read 115 times)

Offline ewok2

  • Jr. Member
  • **
  • Posts: 11
PHP Deprecated: Return type
« on: November 21, 2022, 05:17:02 PM »
Hello
My roundcube/dovecot/postfix/nginx server is working fine.
I have add somes plugin (and perform sopme upgrade to make it work.)

But recently I have seen a lot of "PHP Deprecated" message il the "roundcube/logs/errors.log "
I know that deprecated is not equal to an error but each action on my roundcube interface produce "PHP Deprecated" message...

I have the folowing version installed :
Ubuntu 22.04
roundcube : 1.6.0
dovecot : 2.3.16
PHP 8.1.12
nginx/1.18.0

Any idee of there is a way toi remove theses message waiting for a not deprecated version of php ?

Thanks

Offline Polarian

  • Newbie
  • *
  • Posts: 2
Re: PHP Deprecated: Return type
« Reply #1 on: November 22, 2022, 07:35:31 AM »
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

Offline ewok2

  • Jr. Member
  • **
  • Posts: 11
Re: PHP Deprecated: Return type
« Reply #2 on: November 22, 2022, 03:00:13 PM »
thanks
So only to clean sometime the log file :-)