Re: PHP5 - Weird Error - "cannot find element in variable"
| From: | Jason Barnett | Date: | Thu, 22 Jul 2004 11:41:59 +0000 |
| Subject: | Re: PHP5 - Weird Error - "cannot find element in variable" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191511@lists.php.net to get a copy of this message | ||
Give us the exact error as it is displayed in your browser. Also did you try to print_r on every Add as was suggested to you earlier?
To be honest, I'm starting to wonder if we haven't stumbled on a bug. I have had similar problems (in an entirely different context) and improper cloning may be the cause of both of our problems. But without seeing the rest of your code it is very difficult to say if that is the case.
Can you provide a link to the source (rather than posting it all here)?
Scott Hyndman wrote:
You assume the order matters to me, and that overwriting isn't it's intended behaviour. The fact remains that I'm creating this object, and it says "cannot find element in variable". Does ANYONE know what this means?