RainLoop / rainloop-webmail

Simple, modern & fast web-based email client
http://rainloop.net
MIT License
4.07k stars 873 forks source link

Undefined Offset in bodystructure.php #2228

Closed Flo-63 closed 11 months ago

Flo-63 commented 11 months ago

After update to debian 12, rainloop clients stuck after log in because message list cannot be created.
Error message: "Can't get message list" is shown instead. New mails can be created and sent. In apache error log, an undefined offset error in function getKeyValueListFromArrayList in bodystructure.php is shown.

Steps done so far: Re-Install PHP 7.4 (Sury) Update Rainloop to 1.17

RainLoop version, browser, OS: rainloop 1.17 debian 12 php 7.4 any browser

Expected behavior and actual behavior: show message list is expected error "Can't get message list" is shown instead

Steps to reproduce the problem: log in on any browser

Logs or screenshots: From apache log: [Mon Aug 07 09:40:30.622987 2023] [php7:notice] [pid 3371736] [client 192.168.1.202:61712] PHP Notice: Undefined offset: 12185306 in /var/www/rainloop/rainloop/v/1.17.0/app/libraries/MailSo/Imap/BodyStructure.php on line 954

[Mon Aug 07 09:40:30.623015 2023] [php7:error] [pid 3371736] [client 192.168.1.202:61712] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/rainloop/rainloop/v/1.17.0/app/libraries/MailSo/Imap/BodyStructure.php on line 952

image

Flo-63 commented 11 months ago

After complete de- and re-install of php7.4, the problem doesn't occure anymore.