Wednesday 18 January 2006 9:25:27 am
Greetings All, I'm experiencing an odd problem: the template executes correctly when the cache is cleared. However when ezp runs the cached template, it throws an error.
error: array_keys(): The first argument should be an array in /usr/local/apache2/htdocs/ez_rmu/var/plain/cache/template/compiled/content_business_home-e9b6c83fd17eba0ede6f52b6b730178a.php on line 1368 if it'll help here's the code:
{let department_schools=fetch(content, list, hash(parent_node_id, $node.node_id))}
{foreach $department_schools as $school}
{if $school.object.class_name eq('Page')}
<A HREF={$school.url_alias|ezurl}><IMG SRC={"/images/general_pointer.gif"|ezdesign} width=20 height=11 border=0 vspace=3></A>
<A HREF={$school.url_alias|ezurl}>{$school.name}</A>
{/if}
{/foreach}
{/let}
Thanks in advance, Jason
|