Hi,
Anyone know how to fix this guy?
PHP Fatal error: Call to a member function on a non-object in
/usr/local/source/mail/squirrelmail-1.4.1/plugins/address_add/classes/getemail.php
on line 18
Here is the offending code:
global $message;
$this->decodedfrom = "";
if (function_exists('sqgetGlobalVar')) {
$header = $message->rfc822_header;
$this->decodedfrom = $header->getAddr_s('from');
if ($this->decodedfrom == "")
$this->decodedfrom = $header->getAddr_s('sender');
} else {
$this->decodedfrom = $message->header->from;
}
$this->decodedfrom = decodeHeader($this->decodedfrom);
Line 18 is:
$this->decodedfrom = $header->getAddr_s('from');
This is from testing SM 1.4.1. I have the following plugins:
Plugins
Installed Plugins
1. view_as_html
2. abook_import_export
3. subject_warn
4. select_range
5. compose_fix
6. quicksave
7. qotd_login
8. show_headers
9. squirrelspell
10. filters
11. form_validation
12. abook_take
13. unsafe_image_rules
14. newmail
15. autocomplete
16. address_add
17. compatibility
18. listcommands
19. message_details
20. delete_move_next
21. folder_sizes
22. folder_synch
23. browser_info
24. dictionary
Apache 2.0.45 / PhP 4.3.3 / SuSE Linux 8.1
Thanks,
Josh Trutwin
http://trutwins.homeip.net
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users