RE : [PEAR] DataObject: upgrade from 1.2 to 1.3 problems
| From: | LIMBOURG Arnaud | Date: | Mon, 24 Nov 2003 13:36:31 +0000 |
| Subject: | RE : [PEAR] DataObject: upgrade from 1.2 to 1.3 problems | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9101@lists.php.net to get a copy of this message | ||
Hi,
I had the same message, you can avoid it by doing
$do_1 = new DataObject;
$do_2 = $do_1->__clone();
$do_1->find();
About the second error, i don't know.
Arnaud.
> thw Var_Dump() call gives me a message:
>
> You cannot do two queries on the same object (copy it before finding)
>
> Also I get notices:
>
> Notice: Undefined property: start_stamp in xxx on line 99
> Notice: Undefined property: end_stamp in xxx on line 100
>
> This must have something to do with the selectAdd not working
> as it worked before (?)
>
> Help much appreciated,