[horde] PHP ERRORs when using removeUserData()

Steffen skhorde at smail.inf.fh-bonn-rhein-sieg.de
Thu Oct 24 09:06:52 UTC 2013


On Thu, 24 Oct 2013, Steffen wrote:

> On Fri, 18 Oct 2013, Michael M Slusarz wrote:
>
>> Quoting Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>:
>
>> <?php
>> require_once __DIR__ . '/../lib/Application.php';
>> Horde_Registry::appInit('horde', array('cli' => true, 'user_admin' => 
>> true));
>> $value = '<user>';
>> $cli->writeln('Remove user data of ' . $value);
>> $registry->removeUserData($value);
>
> This works :-), I have updated http://wiki.horde.org/RemoveUserData, but the 
> errors remain (line numbers still apply):
>
> 9x
> Oct 18 11:19:XX h5 HORDE: [horde] PHP ERROR: Illegal offset type in isset or 
> empty [pid 30954 on line 244 of "/usr/share/php/Horde/Prefs/Scope.php"]
>
> 66x
> Oct 18 11:19:XX h5 HORDE: [horde] PHP ERROR: rewind() expects parameter 1 to 
> be resource, array given [pid 30954 on line 295 of 
> "/usr/share/php/Horde/Prefs/Scope.php"]

The errors come up, too, if I remove non-existing users or the same user 
twice.

>
> I had PEAR updated lately, now I have installed:
>
> Horde_Perms               2.1.1   stable
> Horde_Core                2.10.0  stable
> horde                     5.1.4   stable
>
>

-- 
Steffen


More information about the horde mailing list