Hey Guys,
I’m running nextcloud 25.0.3 with mail 2.2.1. Mail is causing regular php error messages. It says it’s a php error, but I don’t see any helpfull information in it.
There is only one issue I’m facing with mail, whenever I write a mail it generates between 2 and 20 drafts of the same mail. Otherwise I feel like it’s running ok. As for the Mailbox number (21) this is an inbox, I’m seeing this error message for other inboxes as well:
[PHP] Error: Error: Undefined array key "text" at /var/www/html/custom_apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Search/Query.php#292 at <<closure>>
0. /var/www/html/custom_apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Search/Query.php line 292
OC\Log\ErrorHandler::onError(2, "Undefined array key \"text\"", "/var/www/html/c ... p", 292)
1. /var/www/html/custom_apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php line 2173
Horde_Imap_Client_Search_Query->build(Horde_Imap_Client_Data_Capability_Imap {})
2. /var/www/html/custom_apps/mail/lib/IMAP/Search/Provider.php line 56
Horde_Imap_Client_Base->search("INBOX", Horde_Imap_Client_Search_Query {})
3. /var/www/html/custom_apps/mail/lib/Service/Search/MailSearch.php line 173
OCA\Mail\IMAP\Search\Provider->findMatches(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 21}, OCA\Mail\Service\Search\SearchQuery {})
4. /var/www/html/custom_apps/mail/lib/Service/Search/MailSearch.php line 133
OCA\Mail\Service\Search\MailSearch->getIdsLocally(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 21}, OCA\Mail\Service\Search\SearchQuery {}, 20)
5. /var/www/html/custom_apps/mail/lib/Controller/MessagesController.php line 139
OCA\Mail\Service\Search\MailSearch->findMessages(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 21}, " is:pi-other", null, 20)
6. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 225
OCA\Mail\Controller\MessagesController->index(21, null, " is:pi-other", 20)
7. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 133
OC\AppFramework\Http\Dispatcher->executeController(OCA\Mail\Controller\MessagesController {}, "index")
8. /var/www/html/lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Mail\Controller\MessagesController {}, "index")
9. /var/www/html/lib/private/Route/Router.php line 298
OC\AppFramework\App::main("OCA\\Mail\\Cont ... r", "index", OC\AppFramework\ ... {}, ["mail.messages.index"])
10. /var/www/html/lib/base.php line 1047
OC\Route\Router->match("/apps/mail/api/messages")
11. /var/www/html/index.php line 36
OC::handleRequest()
GET /apps/mail/api/messages?mailboxId=21&filter=+is:pi-other&limit=20
from IP by user at 2022-12-19T12:22:05+01:00
Does anyone have an idea what is going wrong? I don’t feel like ignoring PHP errors without understanding why they are happening is a good solution if you care about your data… So every comment that helps me to digg down on this is appreciated!
Take care,
Autchi