[dev] I haven't been using whups but I updated and started and get a Fatal error: Unsupported operand types
eculp
eculp at encontacto.net
Thu Oct 23 16:34:39 UTC 2008
Quoting Jan Schneider <jan at horde.org>:
> Zitat von eculp <eculp at encontacto.net>:
>
>>
>> The setup went as expected but after creating a couple of tickets
>> and trying to use them either updating or commenting I get the
>> following errors:
>>
>> Warning: array_keys() [function.array-keys]: The first argument
>> should be an array in
>> /usr/local/www/intranet/whups/lib/Forms/EditTicket.php on line 97
>
> And what *is* the first argument, if not an array?
I didn't think about it but I know that it should have been. I found
the problem a couple of hours ago. This installation is new but I had
initially copied some of the conf-www. prefs-www., etc and had
erroneous group configuration in the conf-www that was causing the
problem. I had forgotten about having copied those files. Now all is
well.
Sorry about the noise.
ed
>
>> Warning: Invalid argument supplied for foreach() in
>> /usr/local/www/intranet/whups/lib/Forms/EditTicket.php on line 97
>>
>> Warning: array_keys() [function.array-keys]: The first argument
>> should be an array in
>> /usr/local/www/intranet/whups/lib/Forms/EditTicket.php on line 162
>>
>> Warning: Invalid argument supplied for foreach() in
>> /usr/local/www/intranet/whups/lib/Forms/EditTicket.php on line 162
>>
>> Warning: asort() expects parameter 1 to be array, null given in
>> /usr/local/www/intranet/whups/lib/Forms/EditTicket.php on line 165
>>
>> Fatal error: Unsupported operand types in
>> /usr/local/www/intranet/whups/lib/Forms/EditTicket.php on line 166
>>
>> This would seem to be group related and I'm not using groups but I
>> suppose there could be a group variable that I haven't configured.
>> I just greped for group in the config folder of whups and in my
>> ignorance it seems ok.
>>
>> Thanks,
>>
>> ed
>>
>> --
>> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>>
>
>
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
More information about the dev
mailing list