1 (edited by Bronko 2023-12-15 08:15:32)

Topic: roundcube: PHP Warning

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.7
- Deployed with downloadable installer
- Linux/BSD distribution name and version: ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

just typing first letter in to "To" field at roundcube, I get these errors at maillog:


Dec 15 01:10:54 mail roundcube: PHP Warning:  Undefined array key "groups" in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 1920
Dec 15 01:10:54 mail roundcube: PHP Warning:  Trying to access array offset on value of type null in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 1920
Dec 15 01:10:54 mail roundcube: PHP Warning:  Undefined array key "objectclass" in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 1980
Dec 15 01:10:54 mail roundcube: PHP Warning:  Undefined array key "groups" in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 2276
Dec 15 01:10:54 mail roundcube: PHP Warning:  Trying to access array offset on value of type null in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 2276
Dec 15 01:10:54 mail roundcube: PHP Warning:  Undefined array key "objectclass" in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 1980
Dec 15 01:10:54 mail roundcube: PHP Warning:  Undefined array key "groups" in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 2276
Dec 15 01:10:54 mail roundcube: PHP Warning:  Trying to access array offset on value of type null in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 2276
Dec 15 01:10:54 mail roundcube: PHP Warning:  Undefined array key "objectclass" in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 1980
Dec 15 01:10:54 mail roundcube: PHP Warning:  Undefined array key "groups" in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 2276
Dec 15 01:10:54 mail roundcube: PHP Warning:  Trying to access array offset on value of type null in /opt/www/roundcubemail-1.6.3/program/lib/Roundcube/rcube_ldap.php on line 2276

All is working perfect, contacts listed and could be choosed.

But whats the issue here...?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: roundcube: PHP Warning

It's a known Roundcube ldap address book issue. sad

3

Re: roundcube: PHP Warning

Thanks!

But should be closed since for over a year...?

4

Re: roundcube: PHP Warning

It should be, but not.

5

Re: roundcube: PHP Warning

ZhangHuangbin wrote:

It should be, but not.

It is solved now on ver. 1.6.6

6

Re: roundcube: PHP Warning

Thanks for sharing. smile