[horde] New User on Horde 3.2 | Issue with whups

Adam Vande More adam at imedmobility.com
Thu Jun 12 17:57:35 UTC 2008


Jan Schneider wrote:
>
> This line doesn't contain an empty() or isset() call anymore as of  
> yesterday's code. Try upgrading (and don't miss to run the upgrade sql  
> script).
>
> Jan.
>   
I updated this morning and now I get different behavior, but it's not 
correct.

These are the warnings before the content:

   Warning: Illegal offset type in isset or empty in
   /usr/local/www/horde/whups/lib/Forms/CreateTicket.php on line 75

   Warning: Illegal offset type in isset or empty in
   /usr/local/www/horde/lib/Horde/Form.php on line 2572

   Warning: Illegal offset type in isset or empty in
   /usr/local/www/horde/lib/Horde/Form.php on line 2572


I am getting an error on Ticket State:

   Notice: Object of class DB_Error could not be converted to int in
   /usr/local/www/horde/lib/Horde/UI/VarRenderer/html.php on line 1485

   Catchable fatal error: Object of class DB_Error could not be
   converted to string in
   /usr/local/www/horde/lib/Horde/UI/VarRenderer/html.php on line 1486


I only updated whups to HEAD, do I need to do the other modules as well?
There is a new screenshot here:

http://www.imedmobility.com/horde-error2.jpg

also it appears the code in the current version of 
whups/lib/Forms/CreateTicket.php just moved down.  The code responsible 
for generating the first error is
*
*           if (empty($type) || !isset($types[$type])) {
               $type_params[] = _("Choose:");
           }

Changing that to

           if (empty($type)) {
               $type_params[] = _("Choose:");
           }

results in the first error not displaying, the rest of the behavior 
stays the same.

Thanks

-- 
Adam Vandemore
Systems Administrator
IMED Mobility


-- 
Adam Vandemore
Systems Administrator
IMED Mobility



More information about the horde mailing list