[Tickets #11949] Re: PHP ERROR: Invalid argument supplied for foreach()

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Jan 15 15:17:49 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/11949
------------------------------------------------------------------------------
  Ticket             | 11949
  Updated By         | zdrahal at ipnp.troja.mff.cuni.cz
  Summary            | PHP ERROR: Invalid argument supplied for foreach()
  Queue              | Horde Base
  Version            | 5.0.3
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


zdrahal at ipnp.troja.mff.cuni.cz (2013-01-15 15:17) wrote:

> And what *is* the system configuration this depends on?

I am sorry, I thought it is obvious from the description of the  
solution. In both of the cases the scripts are making lists of files  
in a given folder. The error occurs in the case such a folder does not  
contain any file that should be listed of if the directory does not  
even exist.
For instance the error in Config file occurs if there is no xml file  
in /var/horde/config/conf.d/ directory or if this directory does not  
exist and an administrator goes into Configuration->Configure Horde.
Similarly for the second error.





More information about the bugs mailing list