6.0.0-git
2019-03-21

[#3008] Fatal error: Call to a member function on a non-object in Contents.php
Summary Fatal error: Call to a member function on a non-object in Contents.php
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester vilius (at) lnk (dot) lt
Created 2005-11-20 (4869 days ago)
Due
Updated 2005-11-24 (4865 days ago)
Assigned 2005-11-22 (4867 days ago)
Resolved 2005-11-24 (4865 days ago)
Milestone
Patch No

History
2005-11-24 14:05:56 Jan Schneider State ⇒ Not A Bug
 
2005-11-24 13:45:24 vilius (at) lnk (dot) lt Comment #9 Reply to this comment
Problem misteriously disappeared in today CVS.
2005-11-24 10:45:35 vilius (at) lnk (dot) lt Comment #8 Reply to this comment
In line 101 of imp/lib/MIME/Contents.php, you should put in a:
print_r($ob);
and post the results.
Strange, but I get no output in mailbox view. Even in folders wher I 
have no errors I get no output. The only place where I get it is when 
I view a message.



Output from random message:

mime_message Object ( [_build] => 1 [_defaultServer] => mail.lnk.lt 
[_type] => text [_subtype] => plain [_contents] => [_transferEncoding] 
=> 7bit [_currentEncoding] => [_encode7bit] => 1 [_description] => 
[_disposition] => inline [_dispositionParameters] => Array ( ) 
[_contentTypeParameters] => Array ( [charset] => us-ascii ) [_parts] 
=> Array ( ) [_information] => Array ( [id] => ) [_cids] => Array ( ) 
[_mimeid] => 1 [_eol] => [_flags] => Array ( [setType] => 1 ) [_idmap] 
=> Array ( ) [_boundary] => =_518qvu690e80 [_bytes] => 1590 
[_contentid] => )
2005-11-24 06:41:43 Michael Slusarz Comment #7
Priority ⇒ 1. Low
Reply to this comment
ratchet down the priority since noone else is seeing this and i can't 
reproduce no matter what i do.
2005-11-22 08:10:59 Jan Schneider Summary ⇒ Fatal error: Call to a member function on a non-object in Contents.php
State ⇒ Feedback
 
2005-11-22 06:47:42 Michael Slusarz Comment #6 Reply to this comment
In line 101 of imp/lib/MIME/Contents.php, you should put in a:

print_r($ob);

and post the results.
2005-11-21 07:07:22 vilius (at) lnk (dot) lt Comment #5 Reply to this comment
Yes. I did CVS update yesterday at around 6pm GMT.
2005-11-21 07:04:18 Michael Slusarz Comment #4 Reply to this comment
are you 100% up-to-date w/CVS.  This could only happen if you updated 
in the middle of a series of commits I made over a period of an hour 
or so.
2005-11-21 06:29:37 vilius (at) lnk (dot) lt Comment #3 Reply to this comment
I actually got two calls to a member function on a non-object. This 
one and another one in MailboxCache.php. So I thought about the cache 
and cleared it lots of times. It helped to solve only error with 
MailboxCache.php and not with Content.php.
2005-11-21 03:32:14 Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
clear your cache entries.
2005-11-21 00:27:27 Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
2005-11-20 15:15:07 vilius (at) lnk (dot) lt Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 3. High
Summary ⇒ Fatal error: Call to a member function on a non-object in /var/www/html/horde/imp/lib/MIME/Contents.php on line 522
Queue ⇒ IMP
Reply to this comment
When viewing folder with unseen messages you get: Fatal error: Call to 
a member function on a non-object in 
/var/www/html/horde/imp/lib/MIME/Contents.php on line 522

Saved Queries