Summary | error foreach |
Queue | Whups |
Queue Version | 2.0.2 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | |
Requester | hmoreno (at) gmv (dot) com |
Created | 06/15/2012 (4768 days ago) |
Due | |
Updated | 07/21/2012 (4732 days ago) |
Assigned | 06/16/2012 (4767 days ago) |
Resolved | 07/21/2012 (4732 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 01afa7996dd225ad5e164e0caa440b6d5cdff1d7
Author: Jan Schneider <jan@horde.org>
Date: Sat Jun 16 19:40:47 2012 +0200
Only loop over the stats if we didn't catch an exception (
Bug #11221).whups/templates/reports/stats.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/01afa7996dd225ad5e164e0caa440b6d5cdff1d7
commit 01afa7996dd225ad5e164e0caa440b6d5cdff1d7
Author: Jan Schneider <jan@horde.org>
Date: Sat Jun 16 19:40:47 2012 +0200
Only loop over the stats if we didn't catch an exception (
Bug #11221).whups/templates/reports/stats.inc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/01afa7996dd225ad5e164e0caa440b6d5cdff1d7
I've put this:
$owners = reset($owners);
if ($owners !== false) {
Horde::debug($owners);
foreach ($owners as $owner) {
$results[] = self::formatUser($owner, $showemail, $showname);
}
}
return implode(', ', $results);
And this is the output:
Jun 18 10:08:40 carpe10 HORDE: [horde] Max memory usage: 28311552
bytes [pid 5430 on line 476 of "/usr/share/pear/Horde/Registry.php"]
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getCurrentTicket()
/var/www/html/horde/whups/ticket/update.php:13 2.
Whups_Ticket::makeTicket() /var/www/html/horde/whups/lib/Whups.php:390
3. Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Ticket.php:49 4.
Whups_Driver->getQueues()
/var/www/html/horde/whups/lib/Driver/Sql.php:1149 5.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:209
6. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 7. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 8. Whups_Api->listQueues()
9. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:419 10.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
11. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 12.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 13.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getCurrentTicket()
/var/www/html/horde/whups/ticket/update.php:13 2.
Whups_Ticket::makeTicket() /var/www/html/horde/whups/lib/Whups.php:390
3. Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Ticket.php:49 4.
Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Driver/Sql.php:1150 5.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
6. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 7.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 8.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::hasPermission()
/var/www/html/horde/whups/ticket/update.php:16 2.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
3. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Ticket_Edit->__construct()
/var/www/html/horde/whups/ticket/update.php:64 2.
Whups_Driver->getQueue()
/var/www/html/horde/whups/lib/Form/Ticket/Edit.php:24 3.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:202
4. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 5. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 6.
Whups_Api->getQueueDetails() 7. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:450 8.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
9. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 10.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 11.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Ticket_Edit->__construct()
/var/www/html/horde/whups/ticket/update.php:64 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Ticket/Edit.php:97 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: [whups] Load config file (nls.php; app:
horde) [pid 5429 on line 865 of "/usr/share/pear/Horde.php"]
Jun 18 10:08:51 carpe10 HORDE: [whups] Load config file (prefs.php;
app: horde) [pid 5429 on line 865 of "/usr/share/pear/Horde.php"]
Jun 18 10:08:51 carpe10 HORDE: [whups] Load config file (prefs.php;
app: whups) [pid 5429 on line 865 of "/usr/share/pear/Horde.php"]
Jun 18 10:08:51 carpe10 HORDE: [whups] Load config file (prefs.php;
app: horde) [pid 5429 on line 865 of "/usr/share/pear/Horde.php"]
Jun 18 10:08:51 carpe10 HORDE: [whups] Load config file (prefs.php;
app: whups) [pid 5429 on line 865 of "/usr/share/pear/Horde.php"]
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Ticket_Edit->__construct()
/var/www/html/horde/whups/ticket/update.php:64 2.
Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Form/Ticket/Edit.php:150 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::hasPermission()
/var/www/html/horde/whups/ticket/update.php:81 2.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
3. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Ticket.php:389 3.
Whups_Driver->getQueues()
/var/www/html/horde/whups/lib/Driver/Sql.php:1149 4.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:209
5. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 6. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 7. Whups_Api->listQueues()
8. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:419 9.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
10. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 11.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 12.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Ticket.php:389 3.
Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Driver/Sql.php:1150 4.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
5. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 6.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 7.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: [whups] PHP ERROR: reset() expects
parameter 1 to be array, boolean given [pid 5429 on line 1022 of
"/var/www/html/horde/whups/lib/Whups.php"]
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394 3.
Whups::getOwners() /var/www/html/horde/whups/lib/Ticket.php:766 4.
reset() /var/www/html/horde/whups/lib/Whups.php:1022 5.
Horde::errorHandler()
Jun 18 10:08:51 carpe10 HORDE: [whups] 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394 3.
Whups::getOwners() /var/www/html/horde/whups/lib/Ticket.php:766 4.
reset() /var/www/html/horde/whups/lib/Whups.php:1022 5.
Horde::errorHandler() [pid 5429 on line 240 of
"/usr/share/pear/Horde.php"]
Jun 18 10:08:51 carpe10 HORDE: [whups] PHP ERROR: Invalid argument
supplied for foreach() [pid 5429 on line 1025 of
"/var/www/html/horde/whups/lib/Whups.php"]
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394 3.
Whups::getOwners() /var/www/html/horde/whups/lib/Ticket.php:766 4.
Horde::errorHandler() /var/www/html/horde/whups/lib/Whups.php:1025
Jun 18 10:08:51 carpe10 HORDE: [whups] 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394 3.
Whups::getOwners() /var/www/html/horde/whups/lib/Ticket.php:766 4.
Horde::errorHandler() /var/www/html/horde/whups/lib/Whups.php:1025
[pid 5429 on line 240 of "/usr/share/pear/Horde.php"]
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394
3. Whups_Driver_Sql->getListeners()
/var/www/html/horde/whups/lib/Ticket.php:843 4.
Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Driver/Sql.php:2676 5.
Whups_Driver->getQueues()
/var/www/html/horde/whups/lib/Driver/Sql.php:1149 6.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:209
7. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 8. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 9. Whups_Api->listQueues()
10. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:419 11.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
12. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 13.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 14.
Horde_Perms_Sql->getPermission() /usr/share
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394 3.
Whups_Driver_Sql->getListeners()
/var/www/html/horde/whups/lib/Ticket.php:843 4.
Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Driver/Sql.php:2676 5.
Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Driver/Sql.php:1150 6.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
7. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 8.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 9.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394
3. Whups_Driver->mail() /var/www/html/horde/whups/lib/Ticket.php:866
4. Whups_Driver->getQueue()
/var/www/html/horde/whups/lib/Driver.php:437 5.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:202
6. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 7. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 8.
Whups_Api->getQueueDetails() 9. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:450 10.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
11. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 12.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 13.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394
3. Whups_Driver->mail() /var/www/html/horde/whups/lib/Ticket.php:866
4. Whups_Driver->getHistory()
/var/www/html/horde/whups/lib/Driver.php:457 5.
Whups_Driver_Sql->_getHistory()
/var/www/html/horde/whups/lib/Driver.php:86 6.
Whups_Driver->getQueue()
/var/www/html/horde/whups/lib/Driver/Sql.php:1261 7.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:202
8. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 9. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 10.
Whups_Api->getQueueDetails() 11. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:450 12.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
13. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 14.
Horde_Perms_Base->getPermissions() /usr/share/pear/Horde/Perms/Bas
Jun 18 10:08:51 carpe10 HORDE: [whups] Error when parsing dot-atom.
[pid 5429 on line 1751 of "/usr/share/pear/Horde/Mime/Part.php"]
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Ticket->commit()
/var/www/html/horde/whups/ticket/update.php:101 2.
Whups_Ticket->notify() /var/www/html/horde/whups/lib/Ticket.php:394 3.
Whups_Driver->mail() /var/www/html/horde/whups/lib/Ticket.php:866 4.
Horde_Mime_Mail->send() /var/www/html/horde/whups/lib/Driver.php:600
5. Horde_Mime_Part->send() /usr/share/pear/Horde/Mime/Mail.php:497
Jun 18 10:08:51 carpe10 HORDE: [whups] Incidencia actualizada [pid
5429 on line 27 of
"/usr/share/pear/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
Jun 18 10:08:51 carpe10 HORDE: [whups] Max memory usage: 27262976
bytes [pid 5429 on line 476 of "/usr/share/pear/Horde/Registry.php"]
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getCurrentTicket()
/var/www/html/horde/whups/ticket/index.php:15 2.
Whups_Ticket::makeTicket() /var/www/html/horde/whups/lib/Whups.php:390
3. Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Ticket.php:49 4.
Whups_Driver->getQueues()
/var/www/html/horde/whups/lib/Driver/Sql.php:1149 5.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:209
6. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 7. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 8. Whups_Api->listQueues()
9. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:419 10.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
11. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 12.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 13.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getCurrentTicket()
/var/www/html/horde/whups/ticket/index.php:15 2.
Whups_Ticket::makeTicket() /var/www/html/horde/whups/lib/Whups.php:390
3. Whups_Driver_Sql->getTicketDetails()
/var/www/html/horde/whups/lib/Ticket.php:49 4.
Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Driver/Sql.php:1150 5.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
6. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 7.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 8.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. require()
/var/www/html/horde/whups/ticket/index.php:22 2. Horde::menu()
/var/www/html/horde/whups/templates/menu.inc:7 3.
Horde_Registry->callAppMethod() /usr/share/pear/Horde.php:2253 4.
call_user_func_array() /usr/share/pear/Horde/Registry.php:1083 5.
Whups_Application->menu() 6. Horde_Registry->isAdmin()
/var/www/html/horde/whups/lib/Application.php:119 7.
Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 8.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 9.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getTicketTabs()
/var/www/html/horde/whups/ticket/index.php:25 2.
Whups::hasPermission() /var/www/html/horde/whups/lib/Whups.php:412 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getTicketTabs()
/var/www/html/horde/whups/ticket/index.php:25 2.
Whups::hasPermission() /var/www/html/horde/whups/lib/Whups.php:424 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getTicketTabs()
/var/www/html/horde/whups/ticket/index.php:25 2.
Whups::hasPermission() /var/www/html/horde/whups/lib/Whups.php:429 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::getTicketTabs()
/var/www/html/horde/whups/ticket/index.php:25 2.
Whups::hasPermission() /var/www/html/horde/whups/lib/Whups.php:434 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups_Driver->getHistory()
/var/www/html/horde/whups/ticket/index.php:41 2.
Whups_Driver_Sql->_getHistory()
/var/www/html/horde/whups/lib/Driver.php:86 3.
Whups_Driver->getQueue()
/var/www/html/horde/whups/lib/Driver/Sql.php:1261 4.
Horde_Registry->call() /var/www/html/horde/whups/lib/Driver.php:202
5. Horde_Registry->callByPackage()
/usr/share/pear/Horde/Registry.php:979 6. call_user_func_array()
/usr/share/pear/Horde/Registry.php:1020 7.
Whups_Api->getQueueDetails() 8. Whups::permissionsFilter()
/var/www/html/horde/whups/lib/Api.php:450 9.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
10. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 11.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 12.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1. Whups::permissionsFilter()
/var/www/html/horde/whups/ticket/index.php:43 2.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:539
3. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:33 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:33 3.
Horde_Perms_Base->hasPermission()
/var/www/html/horde/whups/lib/Whups.php:504 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Perms_Base->hasPermission()
/var/www/html/horde/whups/lib/Whups.php:484 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Perms_Base->hasPermission()
/var/www/html/horde/whups/lib/Whups.php:484 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Perms_Base->hasPermission()
/var/www/html/horde/whups/lib/Whups.php:484 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Perms_Base->hasPermission()
/var/www/html/horde/whups/lib/Whups.php:484 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Registry->isAdmin() /var/www/html/horde/whups/lib/Whups.php:470
4. Horde_Perms_Base->hasPermission()
/usr/share/pear/Horde/Registry.php:1864 5.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 6.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: 1.
Whups_Form_Renderer_Comment->render()
/var/www/html/horde/whups/ticket/index.php:46 2.
Whups::hasPermission()
/var/www/html/horde/whups/lib/Form/Renderer/Comment.php:189 3.
Horde_Perms_Base->hasPermission()
/var/www/html/horde/whups/lib/Whups.php:484 4.
Horde_Perms_Base->getPermissions()
/usr/share/pear/Horde/Perms/Base.php:247 5.
Horde_Perms_Sql->getPermission()
/usr/share/pear/Horde/Perms/Base.php:144
Jun 18 10:08:51 carpe10 HORDE: [whups] Max memory usage: 30670848
bytes [pid 5431 on line 476 of "/usr/share/pear/Horde/Registry.php"]
If you need more information please let me know.
Thank you very much in advanced.
Kind regards,
Héctor Moreno.
Patch ⇒ No
State ⇒ Feedback
When creating a ticket in a queue, the email is not sent. These are
the errors shown:
Jun 15 11:45:30 carpe10 HORDE: [whups] PHP ERROR: Invalid argument
supplied for foreach() [pid 2487 on line 16 of
"/var/www/html/horde/whups/templates/reports/stats.inc"]
happens, it should display an error message in the interface.
supplied for foreach() [pid 2489 on line 1024 of
"/var/www/html/horde/whups/lib/Whups.php"]
Horde::debug($owners);
before that line and post the log output.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ error foreach
Queue ⇒ Whups
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
When creating a ticket in a queue, the email is not sent. These are
the errors shown:
Jun 15 11:45:30 carpe10 HORDE: [whups] PHP ERROR: Invalid argument
supplied for foreach() [pid 2487 on line 16 of
"/var/www/html/horde/whups/templates/reports/stats.inc"]
Jun 15 12:12:48 carpe10 HORDE: [whups] PHP ERROR: Invalid argument
supplied for foreach() [pid 2489 on line 1024 of
"/var/www/html/horde/whups/lib/Whups.php"]
I think these are PHP coding errors. I have searched on the web with
no results.
Any idea about this?
Thank you very much in advanced.
Kind regards,
Héctor Moreno.