[horde] EMERG: HORDE-BETA Missing required state object [pid 15927 on line 122 of "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]

Simon B simon.buongiorno at gmail.com
Mon Dec 30 12:01:54 UTC 2013


On 26 December 2013 19:03, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>
> Quoting Simon B <simon.buongiorno at gmail.com>:
>
>> On 25 December 2013 21:34, Michael J Rubinsky <mrubinsk at horde.org> wrote:
>>>
>>>
>>> Quoting Simon B <simon.buongiorno at gmail.com>:
>>>
>>>> Hi
>>>>
>>>> Since the last git pull that I did on Sunday I have this in my logs..
>>>>
>>>> 2013-12-22T06:31:39+00:00 EMERG: HORDE-BETA [horde] Missing required
>>>> state object [pid 15927 on line 122 of
>>>>
>>>>
>>>> "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
>>>> 2013-12-22T06:32:19+00:00 EMERG: HORDE-BETA [horde] Missing required
>>>> state object [pid 16066 on line 122 of
>>>>
>>>>
>>>> "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
>>>> 2013-12-22T06:34:08+00:00 EMERG: HORDE-BETA [horde] Missing required
>>>> state object [pid 16004 on line 122 of
>>>>
>>>>
>>>> "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
>>>> 2013-12-22T06:34:58+00:00 EMERG: HORDE-BETA [horde] Missing required
>>>> state object [pid 16056 on line 122 of
>>>>
>>>>
>>>> "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
>>>> 2013-12-22T06:34:58+00:00 EMERG: HORDE-BETA [horde] Missing required
>>>> state object [pid 15320 on line 122 of
>>>>
>>>>
>>>> "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
>>>> 2013-12-22T06:34:58+00:00 EMERG: HORDE-BETA [horde] Missing required
>>>> state object [pid 15947 on line 122 of
>>>>
>>>>
>>>> "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
>>>> 2013-12-22T06:36:23+00:00 EMERG: HORDE-BETA [horde] Missing required
>>>> state object [pid 16636 on line 122 of
>>>>
>>>>
>>>> "/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
>>>>
>>>> Usually this means I have to update the DB schema or other config file
>>>> - but I've done that to no avail.  I can't find anything else that
>>>> could be stopping this and of course it's preventing any sync
>>>> whatsoever at that moment from any ActiveSync device.
>>>>
>>>> I did find an error about a missing parameter in the imp
>>>> backends.local.php for the quota driver, but the parameter was there
>>>> just commented out.  That error actually stopped after the git pull.
>>>>
>>>> The last entry in the activesync device file was when the git pull was
>>>> made.  Since then, nothing.
>>>>
>>>> https://webmail.example.net/admin/activesync.php results in a white
>>>> page and an apache error.
>>>>
>>>> [Tue Dec 24 16:15:35 2013] [error] [client 78.35.55.234] PHP Fatal
>>>> error:  Call to a member function setLogger() on a non-object in
>>>> /usr/share/git-horde5/horde/admin/activesync.php on line 25, referer:
>>>> https://webmail.example.net/admin/config/
>>>>
>>>>
>>>> Any ideas?
>>>
>>>
>>>
>>>
>>> Sounds like you didn't (re)run install_framework.
>>
>>
>>
>> Mike
>>
>> Firstly, apologies for the ridiculous subject.  I thought it would
>> only paste the first line.
>>
>> The pull-script did run install_dev on Sunday as it should.  Did you mean
>> that?
>>
>> Running install_frameworks wants options and
>> http://www.horde.org/development/git says nothing about it.
>>
>> In fact Google has just 12 results for
>> /framework/bin/install_framework and none of them look really helpful
>>
>> Hints gratefully received :)
>
>
> Ah, yeah. Sorry that is the script that I meant (install_dev calls
> install_framework internally). Did you update the various configs after you
> pulled? We recently merged the horde 5_2 branches into master.

Hi Michael

Did another git pull (automatically by a cron-job which also calls
install_dev) on Sunday and I still have this issue.  In fact it's
burning through my battery something cronic :)


2013-12-30T11:49:49+00:00 EMERG: HORDE-BETA [horde] Missing required
state object [pid 23708 on line 122 of
"/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
2013-12-30T11:49:51+00:00 EMERG: HORDE-BETA [horde] Missing required
state object [pid 23708 on line 122 of
"/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
2013-12-30T11:49:53+00:00 EMERG: HORDE-BETA [horde] Missing required
state object [pid 23708 on line 122 of
"/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
2013-12-30T11:49:54+00:00 EMERG: HORDE-BETA [horde] Missing required
state object [pid 23708 on line 122 of
"/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]
2013-12-30T11:49:56+00:00 EMERG: HORDE-BETA [horde] Missing required
state object [pid 23708 on line 122 of
"/usr/share/git-horde5/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php"]

I still get a white page of death when accessing
https://webmail.example.net/admin/activesync.php

Apache says:
[Mon Dec 30 11:53:26 2013] [error] [client 195.233.250.7] PHP Fatal
error:  Call to a member function setLogger() on a non-object in
/usr/share/git-horde5/horde/admin/activesync.php on line 25, referer:
https://webmail.example.net/admin/config/index.php?check_versions=1

The admin/config page says I have all the latest versions, all schemas
are up to date, all applications are ready (so I assume that means all
the configs are correct and up-to-date) and all modules are up to
date.

116     public function __construct($params = array())
117     {
118         $this->_params = $params;
119         if (empty($params['state']) ||
120             !($params['state'] instanceof Horde_ActiveSync_State_Base)) {
121
122             throw new InvalidArgumentException('Missing required
state object');
123         }
124

I'm no php guru but as far as I can tell this says to construct the
$params into an array.  if the $params state is empty or if the value
is Horde_ActiveSync_State_Base then throw an exception.  But I'm at a
loss to know what really means.

What should I do to debug this?

Thanks.

Simon


More information about the horde mailing list