logo       

Re: RE : [PEAR] DataObject: upgrade from 1.2 to 1.3 problems: msg#00405

php.pear.general

Subject: Re: RE : [PEAR] DataObject: upgrade from 1.2 to 1.3 problems

Why though? And isn't this a BC break?
My second error definately sounds like a BC break, although it might just be a result of the first error.

LIMBOURG Arnaud wrote:

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,




--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise