6.0.0-beta1
7/7/25

[#13997] HORDE PHP ERROR: array_flip(): Can only flip STRING and INTEGER values!
Summary HORDE PHP ERROR: array_flip(): Can only flip STRING and INTEGER values!
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester christian (at) hailer (dot) eu
Created 05/27/2015 (3694 days ago)
Due
Updated 05/28/2015 (3693 days ago)
Assigned 05/27/2015 (3694 days ago)
Resolved 05/28/2015 (3693 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/28/2015 10:16:53 AM Jan Schneider State ⇒ Resolved
 
05/28/2015 05:29:14 AM christian (at) hailer (dot) eu Comment #3 Reply to this comment
Pretty sure this is also fixed by:

https://github.com/horde/horde/commit/2ae3b0d90570d3a222537ad7a80c210734f3d66c

Counldn't reproduce the error you are getting, but it makes sense 
that it could happen without this fix.

WIll be in Horde_ActiveSync 2.28.3
Thank you very much, no more error messages since the update!

Best regards, Christian
05/27/2015 05:26:06 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Feedback
Reply to this comment
Pretty sure this is also fixed by:

https://github.com/horde/horde/commit/2ae3b0d90570d3a222537ad7a80c210734f3d66c

Counldn't reproduce the error you are getting, but it makes sense that 
it could happen without this fix.

WIll be in Horde_ActiveSync 2.28.3
05/27/2015 07:16:51 AM christian (at) hailer (dot) eu Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ HORDE PHP ERROR: array_flip(): Can only flip STRING and INTEGER values!
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hello,

today I updated Horde via Pear. Among other packages Horde_ActiveSync 
was updated from 2.27.1 to 2.28.2

Now I'm getting these error messages:

2015-05-27T09:06:17+02:00 WARN: HORDE PHP ERROR: array_flip(): Can 
only flip STRING and INTEGER values! [pid 17864 on line 179 of 
"/usr/share/pear/Horde/Imap/Client/Ids.php"]

I enabled debugging:

2015-05-27T09:06:17+02:00 DEBUG: HORDE  1. 
Horde_Rpc_ActiveSync->getResponse() /var/www/horde/rpc.php:158
  2. Horde_ActiveSync->handleRequest() 
/usr/share/pear/Horde/Rpc/ActiveSync.php:143
  3. Horde_ActiveSync_Request_Base->handle() 
/usr/share/pear/Horde/ActiveSync.php:881
  4. Horde_ActiveSync_Request_Sync->_handle() 
/usr/share/pear/Horde/ActiveSync/Request/Base.php:253
  5. Horde_ActiveSync_Connector_Exporter->sendNextChange() 
/usr/share/pear/Horde/ActiveSync/Request/Sync.php:508
  6. Horde_ActiveSync_Connector_Exporter->_sendNextChange() 
/usr/share/pear/Horde/ActiveSync/Connector/Exporter.php:156
  7. Horde_Core_ActiveSync_Driver->getMessage() 
/usr/share/pear/Horde/ActiveSync/Connector/Exporter.php:205
  8. Horde_ActiveSync_Imap_Adapter->getMessages() 
/usr/share/pear/Horde/Core/ActiveSync/Driver.php:1341
  9. Horde_ActiveSync_Imap_Adapter->_getMailMessages() 
/usr/share/pear/Horde/ActiveSync/Imap/Adapter.php:641
10. Horde_Imap_Client_Ids->__construct() 
/usr/share/pear/Horde/ActiveSync/Imap/Adapter.php:1688
11. Horde_Imap_Client_Ids->add() /usr/share/pear/Horde/Imap/Client/Ids.php:86
12. array_flip() /usr/share/pear/Horde/Imap/Client/Ids.php:179
13. Horde_ErrorHandler::errorHandler()

I verified that these errors didn't show before the update.

Until now I don't see any impact on ActiveSync funtionality, but maybe 
something's wrong here.

If you need further information please tell me.

Best regards, Christian

Saved Queries