You just have a small mistake in your code, there should be no equal sign between the words sequence and array. So the correct code is:
{foreach $list_items as $child sequence array( 'bglight', 'bgdark') as $style}
{node_view_gui view=line content_node=$child style=$style}
{/foreach}
If something like this happens again, first have a look at the debug output. Although the messages are sometimes quite cryptic you still can usually see in which line an error occurs.
Greetings from Luxembourg
Claudia
You must be logged in to post messages in this topic!