Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avatars plugin 1.3 results in error #741

Closed
yasuhirokimura opened this issue Dec 3, 2022 · 1 comment
Closed

Avatars plugin 1.3 results in error #741

yasuhirokimura opened this issue Dec 3, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@yasuhirokimura
Copy link

After updating avatars plugin to 1.3, following messages are displayed and SnappyMail doesn't work any more.

Warning: Array to string conversion in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php on line 96

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/snappymail/http/csp.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Service.php on line 40

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Service.php on line 142

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/MailSo/Base/Http.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/MailSo/Base/Http.php on line 220

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/MailSo/Base/Http.php on line 221

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/MailSo/Base/Http.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/RainLoop/Config/AbstractConfig.php:96) in /usr/local/www/snappymail/snappymail/v/2.22.5/app/libraries/snappymail/http/csp.php on line 68

If I remove the plugin then SnappyMail works fine again.

  • Browser
    • Google Chrome 108.0.5359.95
  • IMAP daemon
    • Dovecot 2.3.19.1
  • PHP version:
    • 8.1.13
  • SnappyMail
    • 2.22.5
@the-djmaze the-djmaze added the bug Something isn't working label Dec 3, 2022
@the-djmaze
Copy link
Owner

Problem is not the plugin, but a strange quirk in RainLoop to handle SELECT vs scalar values.
This was not a real problem until i moved to save as JSON.

So i've changed the core to save SELECT options in a property as it should vs DefaultValue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants