6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/20/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13117] Several errors with attached PGP messages
*
Your Email Address
*
Spam protection
Enter the letters below:
__ .__ __ __..___. / `[__)/ `(__ | \__.[__)\__..__) |
Comment
> If a PGP MIME message is attached to another message, e.g. by > forwarding a PGP-encrypted message, there are the following errors in > the logs after providing the PGP passphrase: > > 2014-04-15T16:19:53+02:00 WARN: HORDEDEVELOP [imp] PHP ERROR: > spl_object_hash() expects parameter 1 to be object, null given [pid > 1133 on line 61 of > "/home/jan/horde-develop/imp/lib/Factory/MimeViewer.php"] > 2014-04-15T16:19:53+02:00 EMERG: HORDEDEVELOP [imp] Call to a member > function getType() on a non-object [pid 1133 on line 58 of > "/home/jan/horde-develop/framework/Core/lib/Horde/Core/Factory/MimeViewer.php"] > > The same happens if you try to download the message/rfc822 attachment > that contains the PGP message: > > > ( ! ) Fatal error: Call to a member function getType() on a > non-object in > /home/jan/horde-develop/framework/Core/lib/Horde/Core/Factory/MimeViewer.php > on line 58 > Call Stack > # Time Memory Function Location > 1 0.0207 245864 {main}( ) ../index.php:0 > 2 0.1028 2266384 Horde_Registry->callAppMethod( 'imp', 'download', > array ('args' => array (0 => class Horde_Variables { protected > $_expected = array (...); protected $_sanitized = FALSE; protected > $_vars = array (...) })) ) ../index.php:33 > 3 0.1032 2267008 call_user_func_array ( array (0 => class > IMP_Application { public $auth = array (0 => 'add', 1 => > 'authenticate', 2 => 'list', 3 => 'remove', 4 => 'transparent'); > public $features = array ('dynamicView' => TRUE, 'minimalView' => > TRUE, 'notificationHandler' => TRUE, 'smartmobileView' => TRUE); > public $version = 'H5 (6.2.0-git)'; protected $_oldserver = NULL; > public $initParams = array (); protected $_app = 'imp'; protected > $_sessVars = array () }, 1 => 'download'), array (0 => class > Horde_Variables { protected $_expected = array (); protected > $_sanitized = FALSE; protected $_vars = array ('app' => 'imp', > 'actionID' => 'download_attach', 'id' => '2', 'muid' => > '{5}INBOX339738', 'view_token' => '9wbSGF2k9Je7uGK570R7Pw1', > 'filename' => 'Original Message[13].eml') }) ) ../Registry.php:1171 > 4 0.1032 2267832 IMP_Application->download( class Horde_Variables { > protected $_expected = array (); protected $_sanitized = FALSE; > protected $_vars = array ('app' => 'imp', 'actionID' => > 'download_attach', 'id' => '2', 'muid' => '{5}INBOX339738', > 'view_token' => '9wbSGF2k9Je7uGK570R7Pw1', 'filename' => 'Original > Message[13].eml') } ) ../Registry.php:1171 > 5 0.1639 2779384 IMP_Contents_View->downloadAttach( '2', NULL > ) ../Application.php:538 > 6 0.1773 2779648 IMP_Contents->getMIMEPart( '2', ??? ) ../View.php:95 > 7 0.1774 2780136 IMP_Contents->_buildMessage( ??? ) ../Contents.php:516 > 8 0.9785 4913600 IMP_Factory_MimeViewer->create( NULL, array > ('contents' => class IMP_Contents { protected $_build = TRUE; > protected $_embedded = array (0 => '2.0.3'); protected $_header = > class Horde_Imap_Client_Data_Fetch { protected $_data = array (...) > }; protected $_indices = class IMP_Indices_Mailbox { public $buids = > class IMP_Indices { ... }; public $mailbox = class IMP_Mailbox { ... > }; protected $_indices = array (...) }; protected $_message = class > Horde_Mime_Part { protected $_type = 'multipart'; protected $_subtype > = 'mixed'; protected $_contents = NULL; protected $_transferEncoding > = 'binary'; protected $_language = array (...); protected > $_description = ''; protected $_disposition = ''; protected > $_dispParams = array (...); protected $_contentTypeParams = class > Horde_Support_CaseInsensitiveArray { ... }; protected $_parts = array > (...); protected $_mimeid = '0'; protected $_eol = '\n'; protected > $_temp = array (...); protected $_metadata = array (...); protected > $_boundary = '=_Zvr-QJX3EyFVT44FG70guA6'; protected $_bytes = NULL; > protected $_contentid = NULL; protected $_duration = NULL; protected > $_reindex = FALSE; protected $_basepart = FALSE; protected > $_hdrCharset = NULL; protected $_serializedVars = array (...) }; > protected $_viewcache = class stdClass { public $pgp = array (...) } > }) ) ../Contents.php:1103 > 9 0.9803 4919800 Horde_Core_Factory_MimeViewer->create( NULL, array > ('app' => 'imp') ) ../MimeViewer.php:71 > Ein schwerer Fehler ist aufgetreten: > Call to a member function getType() on a non-object > > 1. Horde_ErrorHandler::catchFatalError() > > Details > Die vollständige Fehlermeldung wurde in Hordes Logdatei geschrieben > und für Administratoren weiter unten ausgegeben. Benutzer, die keine > Administratoren sind, bekommen diese Details nicht zu sehen. > > ErrorException Object > ( > [message:protected] => Call to a member function getType() on a > non-object > [string:Exception:private] => > [code:protected] => 0 > [file:protected] => > /home/jan/horde-develop/framework/Core/lib/Horde/Core/Factory/MimeViewer.php > [line:protected] => 58 > [trace:Exception:private] => Array > ( > [0] => Array > ( > [function] => catchFatalError > [class] => Horde_ErrorHandler > [type] => :: > [args] => Array > ( > ) > > ) > > ) > > [previous:Exception:private] => > [severity:protected] => 1 > [logged] => 1 > ) >
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