if (is_array($plugins_left))
if (is_array($plugins_right))
inside the plugin file.
About your smarty templating error: if you insert { and } tags into Serendipity templates you need to escape them, as they are recognized as Smarty tags usually.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/