Summary | Notice: Object of class PEAR_Error could not be converted to int in ...horde/mnemo/templates/list/memo_summaries.inc |
Queue | Mnemo |
Queue Version | FRAMEWORK_3 |
Type | Bug |
State | No Feedback |
Priority | 1. Low |
Owners | |
Requester | lfbm.andamentos (at) gmail (dot) com |
Created | 10/12/2008 (6123 days ago) |
Due | |
Updated | 11/06/2008 (6098 days ago) |
Assigned | 10/19/2008 (6116 days ago) |
Resolved | 11/06/2008 (6098 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
memo_summaries.inc. The only place where we access a PEAR_Error object
in that line, is in the comparison "$memo['body'] != $memo['desc']",
and this has nothing to do with conversion to int.
array
'memolist_id' => string 'lfbm' (length=4)
'memo_id' => string 'ae3a7d46577f2c2dbb742936213f0bd9' (length=32)
'uid' => string '20080913125322.67117325hizvo9o2@marzagao.com.br'
(length=47)
'desc' => string 'Oldfile' (length=7)
'body' =>
object(PEAR_Error)[20]
public 'error_message_prefix' => string '' (length=0)
public 'mode' => int 1
public 'level' => int 1024
public 'code' => int 100
public 'message' => string 'Esta anotação foi criptografada.'
(length=34)
public 'userinfo' => null
public 'backtrace' =>
array
0 =>
array
...
1 =>
array
...
2 =>
array
...
3 =>
array
...
4 =>
array
...
5 =>
array
...
public 'callback' => null
'category' => string '' (length=0)
'encrypted' => boolean true
var_dump($memo);
on that line and post the results.
Have you tried to logout and login before seeing if the notice was there?
Here´s a screenshot: http://easylifeproject.org/images/mnemo_notice.jpg
The only mnemo note that gets the "notice" msg is the one named
"Oldfile" on the screenshot, which is encrypted with a password. If I
uncrypt it, then the msg goes away.
Then, if I encrypt it again, the "notice" is displayed back, but only
after a *logout and login*.
State ⇒ Feedback
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Notice: Object of class PEAR_Error could not be converted to int in ...horde/mnemo/templates/list/memo_summaries.inc
Queue ⇒ Mnemo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
2. Create a note and encrypt it with a password;
3. Turn on display_errors in php.ini;
3. Display your notes;
4. On the line of the encrypted note you get this notice:
( ! ) Notice: Object of class PEAR_Error could not be converted to int
in /var/www/html/horde/mnemo/templates/list/memo_summaries.inc on line
15
Call Stack
# Time Memory Function Location
1 0.0003 72840 {main}( ) ../index.php:0
2 0.0008 126464 require( '/var/www/html/horde/mnemo/list.php'
) ../index.php:24
3 0.1530 3031272 require(
'/var/www/html/horde/mnemo/templates/list/memo_summaries.inc'
) ../list.php:102