Hi,
I get this message when in addressbook i trying to edit any contact.
Warning: Variable passed to each() is not an array or object in /var/www/egroupware/addressbook/inc/class.addressbook_ui.inc.php on line 1411
This error only happens when I log in as admin user.
The error is relative to this section of code:
------
if ($content['id'])
{
// last and next calendar date
list(,$dates) = each($this->read_calendar(array($content['id']),false));
if(is_array($dates)) $content += $dates;
}
-------
Regards
Re: class.addressbook_ui.inc.php problem variables
that's now fixed in svn for 1.6 (it fixed since some time for trunk).
Ralf
Eval Planetek schrieb:
> Hi,
> I get this message when in addressbook i trying to edit any contact.
> Warning: Variable passed to each() is not an array or object in
> /var/www/egroupware/addressbook/inc/class.addressbook_ui.inc.php on line
> 1411
>
> This error only happens when I log in as admin user.
>
> The error is relative to this section of code:
> ------
> if ($content['id'])
> {
> // last and next calendar date
> list(,$dates) =
> each($this->read_calendar(array($content['id']),false));
> if(is_array($dates)) $content += $dates;
> }
> -------
>
> Regards
>
that's now fixed in svn for 1.6 (it fixed since some time for trunk).
Ralf
Eval Planetek schrieb:
> Hi,
> I get this message when in addressbook i trying to edit any contact.
> Warning: Variable passed to each() is not an array or object in
> /var/www/egroupware/addressbook/inc/class.addressbook_ui.inc.php on line
> 1411
>
> This error only happens when I log in as admin user.
>
> The error is relative to this section of code:
> ------
> if ($content['id'])
> {
> // last and next calendar date
> list(,$dates) =
> each($this->read_calendar(array($content['id']),false));
> if(is_array($dates)) $content += $dates;
> }
> -------
>
> Regards
>
> Hi Ralf,
>
> when this patch will be available in branches.
>
> Thanks
>
> Eval
>
>
> ralfbecker wrote:
>> Hi,
>>
>> that's now fixed in svn for 1.6 (it fixed since some time for trunk).
>>
>> Ralf
>>
>> Eval Planetek schrieb:
>>> Hi,
>>> I get this message when in addressbook i trying to edit any contact.
>>> Warning: Variable passed to each() is not an array or object in
>>> /var/www/egroupware/addressbook/inc/class.addressbook_ui.inc.php on line
>>> 1411
>>>
>>> This error only happens when I log in as admin user.
>>>
>>> The error is relative to this section of code:
>>> ------
>>> if ($content['id'])
>>> {
>>> // last and next calendar date
>>> list(,$dates) =
>>> each($this->read_calendar(array($content['id']),false));
>>> if(is_array($dates)) $content += $dates;
>>> }
>>> -------
>>>
>>> Regards
>>>
>> --
>> Ralf Becker
>> Director Software Development
>>
>> Stylite GmbH
>> [open style of IT]
>>
>> Morschheimer Strasse 15
>> 67292 Kirchheimbolanden
>>
>> fon +49 (0) 6352 70629-0
>> fax +49 (0) 6352 70629-30
>> mailto: rb@... >>
>> www.stylite.de
>> www.egroupware.org
>> ________________________________________________
>>
>> Geschäftsführer Andre Keller, Gudrun Müller,
>> Nigel Vickers und Ralf Becker
>> Registergericht Kaiserslautern HRB 30575
>> Umsatzsteuer-Id / VAT-Id: DE214280951
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> eGroupWare-users mailing list
>> eGroupWare-users@... >> https://lists.sourceforge.net/lists/listinfo/egroupware-users >>
>>
>
Let me explain better.
Where can I find the solution of this bug?
ralfbecker wrote:
Which other branches are you talking about?
Ralf
Eval Planetek schrieb:
> Hi Ralf,
>
> when this patch will be available in branches.
>
> Thanks
>
> Eval
>
>
> ralfbecker wrote:
>> Hi,
>>
>> that's now fixed in svn for 1.6 (it fixed since some time for trunk).
>>
>> Ralf
>>
>> Eval Planetek schrieb:
>>> Hi,
>>> I get this message when in addressbook i trying to edit any contact.
>>> Warning: Variable passed to each() is not an array or object in
>>> /var/www/egroupware/addressbook/inc/class.addressbook_ui.inc.php on line
>>> 1411
>>>
>>> This error only happens when I log in as admin user.
>>>
>>> The error is relative to this section of code:
>>> ------
>>> if ($content['id'])
>>> {
>>> // last and next calendar date
>>> list(,$dates) =
>>> each($this->read_calendar(array($content['id']),false));
>>> if(is_array($dates)) $content += $dates;
>>> }
>>> -------
>>>
>>> Regards
>>>
>> --
>> Ralf Becker
>> Director Software Development
>>
>> Stylite GmbH
>> [open style of IT]
>>
>> Morschheimer Strasse 15
>> 67292 Kirchheimbolanden
>>
>> fon +49 (0) 6352 70629-0
>> fax +49 (0) 6352 70629-30
>> mailto: rb@stylite.de
>>
>> www.stylite.de
>> www.egroupware.org
>> ________________________________________________
>>
>> Geschäftsführer Andre Keller, Gudrun Müller,
>> Nigel Vickers und Ralf Becker
>> Registergericht Kaiserslautern HRB 30575
>> Umsatzsteuer-Id / VAT-Id: DE214280951
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> eGroupWare-users mailing list
>> eGroupWare-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/egroupware-users >>
>>
>
> Let me explain better.
> Where can I find the solution of this bug?
>
>
>
> ralfbecker wrote:
>> Which other branches are you talking about?
>>
>> Ralf
>>
>> Eval Planetek schrieb:
>>> Hi Ralf,
>>>
>>> when this patch will be available in branches.
>>>
>>> Thanks
>>>
>>> Eval
>>>
>>>
>>> ralfbecker wrote:
>>>> Hi,
>>>>
>>>> that's now fixed in svn for 1.6 (it fixed since some time for trunk).
>>>>
>>>> Ralf
>>>>
>>>> Eval Planetek schrieb:
>>>>> Hi,
>>>>> I get this message when in addressbook i trying to edit any contact.
>>>>> Warning: Variable passed to each() is not an array or object in
>>>>> /var/www/egroupware/addressbook/inc/class.addressbook_ui.inc.php on
>>>>> line
>>>>> 1411
>>>>>
>>>>> This error only happens when I log in as admin user.
>>>>>
>>>>> The error is relative to this section of code:
>>>>> ------
>>>>> if ($content['id'])
>>>>> {
>>>>> // last and next calendar date
>>>>> list(,$dates) =
>>>>> each($this->read_calendar(array($content['id']),false));
>>>>> if(is_array($dates)) $content += $dates;
>>>>> }
>>>>> -------
>>>>>
>>>>> Regards
>>>>>
>>>> --
>>>> Ralf Becker
>>>> Director Software Development
>>>>
>>>> Stylite GmbH
>>>> [open style of IT]
>>>>
>>>> Morschheimer Strasse 15
>>>> 67292 Kirchheimbolanden
>>>>
>>>> fon +49 (0) 6352 70629-0
>>>> fax +49 (0) 6352 70629-30
>>>> mailto: rb@... >>>>
>>>> www.stylite.de
>>>> www.egroupware.org
>>>> ________________________________________________
>>>>
>>>> Geschäftsführer Andre Keller, Gudrun Müller,
>>>> Nigel Vickers und Ralf Becker
>>>> Registergericht Kaiserslautern HRB 30575
>>>> Umsatzsteuer-Id / VAT-Id: DE214280951
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> eGroupWare-users mailing list
>>>> eGroupWare-users@... >>>> https://lists.sourceforge.net/lists/listinfo/egroupware-users >>>>
>>>>
>> --
>> Ralf Becker
>> Director Software Development
>>
>> Stylite GmbH
>> [open style of IT]
>>
>> Morschheimer Strasse 15
>> 67292 Kirchheimbolanden
>>
>> fon +49 (0) 6352 70629-0
>> fax +49 (0) 6352 70629-30
>> mailto: rb@... >>
>> www.stylite.de
>> www.egroupware.org
>> ________________________________________________
>>
>> Geschäftsführer Andre Keller, Gudrun Müller,
>> Nigel Vickers und Ralf Becker
>> Registergericht Kaiserslautern HRB 30575
>> Umsatzsteuer-Id / VAT-Id: DE214280951
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> eGroupWare-users mailing list
>> eGroupWare-users@... >> https://lists.sourceforge.net/lists/listinfo/egroupware-users >>
>>
>