[FLOW3-general] "Invalid argument supplied for foreach()" in FLOW3/Classes/AOP/Framework.php
Thomas Fritz
fritztho at gmail.com
Thu Feb 4 12:35:46 CET 2010
Hi Karsten!
On Thu, Feb 4, 2010 at 10:12, Karsten Dambekalns <karsten at typo3.org> wrote:
> 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?
>
Yes, of course. Thats a cleaner "fix"!. Thanks! :)
By the way. Is it OK to write to the mailing list for that kind of issues,
or should i create a ticket right away? Because i do not want to spam this
mailing list and i do not know if some Issues are known in the trunk. Know
what i mean?
Kind regards,
Thomas
More information about the FLOW3-general
mailing list