Forums / General / Debug Error - menu.has_children

Debug Error - menu.has_children

Author Message

John Smith

Thursday 24 April 2008 3:04:30 am

Hi There,

Hope somebody can help me. In the left menu I am using "menu.has_children" to display some sort of icons in front of subcategories.

It is working fine. But When I am going to /user/login, I am getting the following errors in debug.

I am getting the following message 8 times which is exactly same as the number of main categories on the website....

Error: eZTemplate @ design/plain_site/templates/menu/flat_left.tpl:28[25]

No such attribute for object(eZTemplateSectionIterator): has_children
Choose one of following: Array, 7, 8, , id, level, url_alias, url,
                         text, is_selected, node

Please help..

John Smith

Thursday 24 April 2008 9:23:23 am

Nobody???