[FLOW3-general] "Invalid argument supplied for foreach()" in FLOW3/Classes/AOP/Framework.php
Karsten Dambekalns
karsten at typo3.org
Thu Feb 4 10:12:53 CET 2010
Hi.
On 02.02.10 19:00, Thomas Fritz wrote:
> I get another " Invalid argument supplied for foreach()" in
> FLOW3/Classes/AOP/Framework.php on line 246.
>
> I modified it that way. This way it works - i think - as expected.
...
> // I have added this:
> else {
> $this->targetAndProxyClassNames = array();
> }
Funny error, in terms of us not seeing it. Anyway, a simple fix seems to
be to initialize it to an array in the property declaration on line 101,
just as it is done for $aspectContainers above that.
Does that also work for you?
Karsten
More information about the FLOW3-general
mailing list