Skip to content

Folders error: Undefined constant "LOG_ERROR" #1754

Closed
@ervee

Description

@ervee

Describe the bug
Just updated my instance to 2.38.0 and when logging in with a user with multiple account I get an error: Folders error: Undefined constant "LOG_ERROR". When I login with a standard user with no additional accounts configured this is not an issue as far as I can test.

The log shows:

[2024-09-17 07:48:56.168][aca59387] SERVICE[WARNING]: Error: Undefined constant "LOG_ERROR" in /srv/www/vhosts/mydomain.tld/htdocs/webmail/snappymail/snappymail/v/2.38.0/app/libraries/RainLoop/ServiceActions.php:103
Stack trace:
#0 /srv/www/vhosts/mydomain.tld/htdocs/webmail/snappymail/snappymail/v/2.38.0/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
#1 /srv/www/vhosts/mydomain.tld/htdocs/webmail/snappymail/snappymail/v/2.38.0/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
#2 /srv/www/vhosts/mydomain.tld/htdocs/webmail/snappymail/snappymail/v/2.38.0/include.php(137): RainLoop\Service::Handle()
#3 /srv/www/vhosts/mydomain.tld/htdocs/webmail/snappymail/index.php(11): include('...')
#4 {main}

To Reproduce
Steps to reproduce the behavior:

  1. Update to 2.38.0
  2. Login with a user with multiple accounts configured (I have 2 extra accounts)

Expected behavior
Just login :)

Screenshots
image

Please complete the following information:

  • Browser: All
  • IMAP daemon: Dovecot
  • PHP version: 8.1
  • SnappyMail Version: 2.38.0
  • Mode: Standalone

Debug/logging information
Read here how to log

  • I've placed them here (few lines) or as attachments (many lines)

Additional context
Seems only a relevant issue for users with multiple accounts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions