[Tickets #14588] Calling horde-memcache-stats triggers errors due to invalid function call

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Mar 1 21:54:00 UTC 2017


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14588
------------------------------------------------------------------------------
  Ticket           | 14588
  Erstellt Von     | torben at dannhauer.info
  Zusammenfassung  | Calling horde-memcache-stats triggers errors due to
                   | invalid function call
  Warteschlange    | Horde Base
  Version          | 5.2.13
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


torben at dannhauer.info (2017-03-01 21:53) hat geschrieben:

executing horde-memcache-stats without any argument triggers errors:

2017-03-01T21:32:50+00:00 WARN: HORDE [horde] PHP ERROR: Invalid  
argument supplied for foreach() [pid 28743 on line 194 of  
"/usr/share/php/Horde/Argv/OptionContainer.php"]
2017-03-01T21:32:50+00:00 WARN: HORDE [horde] PHP ERROR: Invalid  
argument supplied for foreach() [pid 28743 on line 194 of  
"/usr/share/php/Horde/Argv/OptionContainer.php"]
2017-03-01T21:32:50+00:00 WARN: HORDE [horde] PHP ERROR: Invalid  
argument supplied for foreach() [pid 28743 on line 194 of  
"/usr/share/php/Horde/Argv/OptionContainer.php"]

This is caused in horde-memcache-stats line 56 (and similar calls  
before and after) by calling addOptions() with two strings and an  
array, wheres addOptions  
("/usr/share/php/Horde/Argv/OptionContainer.php" line 192) expected  
only an array.





More information about the bugs mailing list