Fixed in SVN (http://trac.agavi.org/ticket/457).
David Am 23.02.2007 um 11:48 schrieb Van Daele, Koen: > Hi, > > I'm trying some of the caching and I get the following error whenever > the page is first hit (once it's in cache the warnings are gone): > > Notice: Undefined index: decorator in > /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.class.php on > line 408 > > Warning: in_array() [function.in-array]: Wrong datatype for second > argument in > /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.class.php on > line 408 > > Notice: Undefined index: decorator in > /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.class.php on > line 408 > > Warning: in_array() [function.in-array]: Wrong datatype for second > argument in > /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.class.php on > line 408 > > Notice: Undefined index: decorator in > /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.class.php on > line 408 > > Warning: in_array() [function.in-array]: Wrong datatype for second > argument in > /data/projects/agavi/0.11/src/filter/AgaviExecutionFilter.class.php on > line 408 > > The page itself does render fine. But I'd rather get rid of the > warnings. These are the warnings from running in development mode. In > production mode it points to the compiled file. Thought these were > easier to debug. > > This might have something to do with my setup. Let me know if you need > more data: > > Modules/Algemeen/cache/NieuwsTonen.xml: > <caching method="read" lifetime="1 day" enabled="true"> > <view>Success</view> > <output_type name="html"> > <layer name="content" /> > </output_type> > </caching> > > Config/output_types.xml: > <layout name="complexDecorated"> > <layers> > <layer name="content" class="AgaviFileTemplateLayer" /> > <layer name="decorator" class="AgaviFileTemplateLayer"> > <parameters> > <parameter > name="template">GlobalTemplate</parameter> > <parameter > name="directory">%core.template.dir%</parameter> > </parameters> > <slots> > ... > </slots> > </layer> > </layers> > </layout> > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
