Catchable fatal error: object of class ADORecordSet_empty could not be converted to string

The problem is with your php version.
The instruction:
$this->addDebug(‘update_pref’, “[$res]”.$query, 3);
cannot be executed because the variable $res is a class that should be transformed into a string before calling the addDebug method.
I have the same problem too.

You should change the line into:
$this->addDebug(‘update_pref’, “[” . print_r($res,true) . “]”.$query, 3);

The problem is that zendTrack rutines are full of calls to the addDebug rotuine after a db access. So every time you have this kind of error you should apply this patch.

同样,还要做如下修改:
vi zenTrack.class
Change:
$this->addDebug(‘update_pref’, “[$res]”.$query, 3);
to:
$this->addDebug(‘update_pref’, “[” . print_r($res,true) . “]”.$query, 3);

Change:
$this->addDebug(“add_prefs”,”$res/$query”,3);
To:
$this->addDebug(“add_prefs”,”[” . print_r($res,true) . “]”.$query, 3);
Change:
$this->addDebug(“delete_prefs”,”$res/$query”,3);
To:
$this->addDebug(“delete_prefs”,”[” . print_r($res,true) . “]”.$query, 3);