[Tickets #10579] php error on new message with request_read_receipt

bugs at horde.org bugs at horde.org
Fri Sep 30 09:22:18 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10579
------------------------------------------------------------------------------
  Ticket             | 10579
  Created By         | rsalmon at mbpgroup.com
  Summary            | php error on new message with request_read_receipt
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2011-09-30 09:22) wrote:

using dynamic mode, compose a new message, check request_read_receipt  
and send.

HORDE [imp] PHP ERROR: strcasecmp() expects parameter 1 to be string,  
array given [pid 26057 on line 1358 of  
"/usr/share/pear/Horde/Imap/Client/Socket.php"]


I've added the following code Horde/Imap/Client/Socket.php:1358
++  if (!is_string($val)) { horde::debug($val);}


2011-09-30T10:36:49+02:00 DEBUG: Variable information:
array(1) {
   [0]=>
   string(8) "$mdnsent"
}

Backtrace:
  1. IMP_Ajax_Application->doAction()  
/var/vweb/horde/horde/services/ajax.php:60
  2. Horde_Core_Ajax_Application->doAction()  
/var/vweb/horde/horde/imp/lib/Ajax/Application.php:75
  3. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:95
  4. IMP_Ajax_Application->sendMessage()
  5. IMP_Compose->buildAndSendMessage()  
/var/vweb/horde/horde/imp/lib/Ajax/Application.php:1604
  6. IMP_Imap->append() /var/vweb/horde/horde/imp/lib/Compose.php:736
  7. IMP_Imap->__call() /var/vweb/horde/horde/imp/lib/Compose.php:736
  8. call_user_func_array() /var/vweb/horde/horde/imp/lib/Imap.php:338
  9. Horde_Imap_Client_Base->append()
10. Horde_Imap_Client_Socket->_append()  
/usr/share/pear/Horde/Imap/Client/Base.php:1417
11. Horde::debug() /usr/share/pear/Horde/Imap/Client/Socket.php:1358






More information about the bugs mailing list