6.0.0-alpha12
6/8/25

[#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 11/20/2005 (7140 days ago)
Due
Updated 11/24/2005 (7136 days ago)
Assigned 11/22/2005 (7138 days ago)
Resolved 11/24/2005 (7136 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/24/2005 02:05:56 PM Jan Schneider State ⇒ Not A Bug
 
11/24/2005 01:45:24 PM vilius (at) lnk (dot) lt Comment #9 Reply to this comment
Problem misteriously disappeared in today CVS.
11/24/2005 10:45:35 AM 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] => )
11/24/2005 06:41:43 AM 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.
11/22/2005 08:10:59 AM Jan Schneider Summary ⇒ Fatal error: Call to a member function on a non-object in Contents.php
State ⇒ Feedback
 
11/22/2005 06:47:42 AM 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.
11/21/2005 07:07:22 AM vilius (at) lnk (dot) lt Comment #5 Reply to this comment
Yes. I did CVS update yesterday at around 6pm GMT.
11/21/2005 07:04:18 AM 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.
11/21/2005 06:29:37 AM 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.
11/21/2005 03:32:14 AM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
clear your cache entries.
11/21/2005 12:27:27 AM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
11/20/2005 03:15:07 PM vilius (at) lnk (dot) lt Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
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
State ⇒ Unconfirmed
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