Summary | PHP ERROR: Argument 1 passed to IMP_Factory_MimeViewer::create() must be an instance of Horde_Mime_Part, null given |
Queue | IMP |
Queue Version | 6.0.2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | adi (at) ddns (dot) com (dot) au |
Created | 12/14/2012 (4563 days ago) |
Due | |
Updated | 01/07/2013 (4539 days ago) |
Assigned | 12/17/2012 (4560 days ago) |
Resolved | 01/07/2013 (4539 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Version ⇒ 6.0.2
commit c719f9c8c68c10e5c787e965f7e301f76b6842be
Author: Michael M Slusarz <slusarz@horde.org>
Date: Sun Jan 6 21:34:00 2013 -0700
Bug #11884: Don't attempt to parse empty multipart/related partsimp/lib/Mime/Viewer/Related.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/c719f9c8c68c10e5c787e965f7e301f76b6842be
Happy New Year :)
Priority ⇒ 1. Low
BODYSTRUCTURE information returned from IMAP server. Waiting for OP
to provide IMAP log with this information.
State ⇒ Feedback
Assigned to Michael Slusarz
- Imp H5 (6.0.2)
- CentOS release 6.3 (Final)
- php packages:
php-cli-5.3.3-14.el6_3.x86_64
php-xml-5.3.3-14.el6_3.x86_64
php-ldap-5.3.3-14.el6_3.x86_64
php-pgsql-5.3.3-14.el6_3.x86_64
php-common-5.3.3-14.el6_3.x86_64
php-5.3.3-14.el6_3.x86_64
php-gd-5.3.3-14.el6_3.x86_64
php-php-gettext-1.0.11-3.el6.noarch
php-pecl-imagick-2.2.2-4.el6.x86_64
php-intl-5.3.3-14.el6_3.x86_64
php-pecl-memcached-1.0.0-1.el6.x86_64
php-pdo-5.3.3-14.el6_3.x86_64
php-pspell-5.3.3-14.el6_3.x86_64
php-mysql-5.3.3-14.el6_3.x86_64
php-pecl-geoip-1.0.8-3.el6.x86_64
php-pear-1.9.4-4.el6.noarch
php-mbstring-5.3.3-14.el6_3.x86_64
php-devel-5.3.3-14.el6_3.x86_64
php-pecl-memcache-3.0.5-4.el6.x86_64
php-tidy-5.3.3-14.el6_3.x86_64
php-pecl-lzf-1.6.2-2.el6.x86_64
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ PHP ERROR: Argument 1 passed to IMP_Factory_MimeViewer::create() must be an instance of Horde_Mime_Part, null given
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
when communicating with the server" red alert when trying to select a
particular message. It's some banking scam with a zipfile attached. I
can send the raw message off-list, if needed.
The same message doesn't cause any errors in other clients tested so
far - Claws Mail, Thunderbird, like Horde IMP 4.3.9, Atmail
Here are relevant log entries from Horde debug log and Apache error_log:
2012-12-14T17:05:41+11:00 DEBUG: HORDE Horde_Registry: retrieved app
with cache ID
horde_registry|app|1354578899|e9ac65fcc9e2dd22811abec38e965d3b [pid
1974 on line 1969 of "/usr/share/pear/Horde/Registry.php"]
2012-12-14T17:05:41+11:00 DEBUG: HORDE [imp] Load config file
(conf.php; app: imp) [pid 1974 on line 477 of
"/usr/share/pear/Horde.php"]
2012-12-14T17:05:43+11:00 DEBUG: HORDE [imp] Load config file
(mime_drivers.php; app: horde) [pid 1974 on line 477 of
"/usr/share/pear/Horde.php"]
2012-12-14T17:05:43+11:00 DEBUG: HORDE [imp] Load config file
(mime_drivers.php; app: imp) [pid 1974 on line 477 of
"/usr/share/pear/Horde.php"]
2012-12-14T17:05:43+11:00 DEBUG: HORDE [imp] PHP ERROR: Argument 1
passed to IMP_Factory_MimeViewer::create() must be an instance of
Horde_Mime_Part, null given, called in
/var/www/horde/imp/lib/Contents.php on line 1052 and defined [pid 1974
on line 44 of "/var/www/horde/imp/lib/Factory/MimeViewer.php"]
2012-12-14T17:05:43+11:00 DEBUG: HORDE 1.
Horde_Core_Ajax_Application->doAction()
/var/www/horde/services/ajax.php:56
2. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:155
3. IMP_Ajax_Application_Handler_Common->showMessage()
4. IMP_Ajax_Queue->message()
/var/www/horde/imp/lib/Ajax/Application/Handler/Common.php:670
5. IMP_Ajax_Application_ShowMessage->showMessage()
/var/www/horde/imp/lib/Ajax/Queue.php:223
6. IMP_Contents->getInlineOutput()
/var/www/horde/imp/lib/Ajax/Application/ShowMessage.php:270
7. IMP_Contents->canDisplay() /var/www/horde/imp/lib/Contents.php:1345
8. IMP_Mime_Viewer_Related->canRender()
/var/www/horde/imp/lib/Contents.php:1067
9. IMP_Mime_Viewer_Related->_init()
/var/www/horde/imp/lib/Mime/Viewer/Related.php:182
10. IMP_Contents->canDisplay()
/var/www/horde/imp/lib/Mime/Viewer/Related.php:173
11. IMP_Factory_MimeViewer->create() /var/www/horde/imp/lib/Contents.php:1052
12. Horde_ErrorHandler::errorHandler()
/var/www/horde/imp/lib/Factory/MimeViewer.php:44
2012-12-14T17:05:43+11:00 WARN: HORDE [imp] PHP ERROR:
spl_object_hash() expects parameter 1 to be object, null given [pid
1974 on line 48 of "/var/www/horde/imp/lib/Factory/MimeViewer.php"]
2012-12-14T17:05:43+11:00 DEBUG: HORDE 1.
Horde_Core_Ajax_Application->doAction()
/var/www/horde/services/ajax.php:56
2. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:155
3. IMP_Ajax_Application_Handler_Common->showMessage()
4. IMP_Ajax_Queue->message()
/var/www/horde/imp/lib/Ajax/Application/Handler/Common.php:670
5. IMP_Ajax_Application_ShowMessage->showMessage()
/var/www/horde/imp/lib/Ajax/Queue.php:223
6. IMP_Contents->getInlineOutput()
/var/www/horde/imp/lib/Ajax/Application/ShowMessage.php:270
7. IMP_Contents->canDisplay() /var/www/horde/imp/lib/Contents.php:1345
8. IMP_Mime_Viewer_Related->canRender()
/var/www/horde/imp/lib/Contents.php:1067
9. IMP_Mime_Viewer_Related->_init()
/var/www/horde/imp/lib/Mime/Viewer/Related.php:182
10. IMP_Contents->canDisplay()
/var/www/horde/imp/lib/Mime/Viewer/Related.php:173
11. IMP_Factory_MimeViewer->create() /var/www/horde/imp/lib/Contents.php:1052
12. spl_object_hash() /var/www/horde/imp/lib/Factory/MimeViewer.php:48
13. Horde_ErrorHandler::errorHandler()
2012-12-14T17:05:43+11:00 DEBUG: HORDE [imp] Max memory usage:
17301504 bytes [pid 1974 on line 542 of
"/usr/share/pear/Horde/Registry.php"]
Apache:
[Fri Dec 14 17:03:53 2012] [error] [client 192.168.1.200] PHP Fatal
error: Call to a member function getType() on a non-object in
/var/www/horde/imp/lib/Factory/MimeViewer.php on line 54, referer:
http://horde5test.local/imp/dynamic.php?page=mailbox