6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#15103] sending linked attachment gives error
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . ..__ .__ | |[__)| |[ __| \ |__|[__)|__|[_./|__/
Comment
> When sending an attachment that is so large that it will be sent as a > linked attachment, the following error occurs: > > Apr 15 11:42:53 cloudserver2 HORDE: [imp] Error: Object of class > DOMElement could not be converted to string in > /usr/share/horde/imp/lib/Compose.php:2934 > Apr 15 11:42:53 cloudserver2 HORDE: Stack trace: > Apr 15 11:42:53 cloudserver2 HORDE: #0 > /usr/share/horde/imp/lib/Compose.php(1541): > IMP_Compose->_linkAttachments() > Apr 15 11:42:53 cloudserver2 HORDE: #1 > /usr/share/horde/imp/lib/Compose.php(811): > IMP_Compose->_createMimeMessage() > Apr 15 11:42:53 cloudserver2 HORDE: #2 > /usr/share/horde/imp/lib/Ajax/Application/Handler/Common.php(540): > IMP_Compose->buildAndSendMessage() > Apr 15 11:42:53 cloudserver2 HORDE: #3 > /usr/share/php/Horde/Core/Ajax/Application.php(175): > IMP_Ajax_Application_Handler_Common->sendMessage() > Apr 15 11:42:53 cloudserver2 HORDE: #4 > /usr/share/horde/services/ajax.php(61): > Horde_Core_Ajax_Application->doAction() > Apr 15 11:42:53 cloudserver2 HORDE: #5 {main} [pid 7653 on line 74 of > "/usr/share/php/Horde/ErrorHandler.php"] > > The problem is in line 2931 of Compose.php, where the problem seems > to be that $body is uninitialized. > Inserting: > $body=""; > > at line 2924 seems to solve the problem. >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers