6.0.0-RC7
6/30/26

[#9642] Group/Mock Invalid argument supplied
Summary Group/Mock Invalid argument supplied
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester rsalmon (at) mbpgroup (dot) com
Created 3/9/11 (5592 days ago)
Due
Updated 3/9/11 (5592 days ago)
Assigned
Resolved 3/9/11 (5592 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
33 Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
543 Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Fix error in Mock driver when listing groups (Bug #9642).

  4 files changed, 8 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/20b9a1154c6178f574423d074c793471ef903361
112 rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 1. Low
New Attachment: 0003-check-if-_groups-is-set.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Group/Mock Invalid argument supplied
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I'm getting lots of this warnings. attached patch fixes this.


2011-03-09T15:24:28+01:00 DEBUG: HORDE [kronolith] PHP ERROR: Invalid 
argument supplied for foreach() [pid 18784 on line 183 of 
"/var/www/html/hordetest/libs/Horde/Group/Mock.php"]
2011-03-09T15:24:28+01:00 DEBUG:  1. require() 
/var/www/html/hordetest/imp/index.php:19
  2. IMP_Dimp::header() /var/www/html/hordetest/imp/index-dimp.php:38
  3. include() /var/www/html/hordetest/imp/lib/Dimp.php:78
  4. include() /var/www/html/hordetest/imp/templates/common-header.inc:9
  5. Horde::loadConfiguration() 
/var/www/html/hordetest/imp/templates/dimp/javascript_defs.php:17
  6. include() /var/www/html/hordetest/libs/Horde.php:752
  7. Horde_Core_Block_Collection->getBlock() 
/var/www/html/hordetest/imp/config/portal.php:49
  8. Horde_Registry->pushApp() 
/var/www/html/hordetest/libs/Horde/Core/Block/Collection.php:72
  9. Horde_Registry->callAppMethod() 
/var/www/html/hordetest/libs/Horde/Registry.php:1275
10. call_user_func_array() 
/var/www/html/hordetest/libs/Horde/Registry.php:1018
11. Horde_Registry_Application->init()
12. Kronolith_Application->_init() 
/var/www/html/hordetest/libs/Horde/Registry/Application.php:89
13. Kronolith::initialize() 
/var/www/html/hordetest/kronolith/lib/Application.php:72
14. Kronolith::listInternalCalendars() 
/var/www/html/hordetest/kronolith/lib/Kronolith.php:1124
15. Horde_Core_Share_Driver->listShares() 
/var/www/html/hordetest/kronolith/lib/Kronolith.php:1488
16. Horde_Core_Share_Driver->__call() 
/var/www/html/hordetest/kronolith/lib/Kronolith.php:1488
17. call_user_func_array() 
/var/www/html/hordetest/libs/Horde/Core/Share/Driver.php:62
18. Horde_Share_Sql->listShares()
19. Horde_Share_Sql->getShareCriteria() 
/var/www/html/hordetest/libs/Horde/Share/Sql.php:382
20. Horde_Share_Sql->_getUserAndGroupCriteria() 
/var/www/html/hordetest/libs/Horde/Share/Sql.php:747
21. Horde_Group_Mock->listGroups() 
/var/www/html/hordetest/libs/Horde/Share/Sql.php:841
22. Horde::errorHandler() 
/var/www/html/hordetest/libs/Horde/Group/Mock.php:183

Saved Queries