An error has occured while trying to load the requested view.


Template path: themes/stormgarde/template.tpl

Error: SmartyCompilerException: Syntax Error in template "application/themes/stormgarde/views/formatters/sidebox.tpl" on line 8 "{if is_array($sideboxes)} {* Get sideboxes (data) *} {$sideboxes_data = $CI->cms_model->getSideboxes()} {foreach from=$sideboxes key=key item=item} {* Fill sidebox type *} {if !isset($item.type)}{$item.type = (isset($sideboxes_data.$key.type)) ? strtolower($sideboxes_data.$key.type) : false}{/if} {* Invalid type *} {if !$item.type}{continue}{/if} {* Build item *} {capture assign=html}<div class="box type-{$item.type}">{if $item.name} {* Explode item name *} {$item.name = explode('[|]', $item.name)} {* Explode wasn't successful *} {if !is_array($item.name) || count($item.name) != 2}{$item.name = reset($item.name)}{/if} {if is_array($item.name)}<div class="box-head text-ellipsis" title="{$item.name[0]} - {$item.name[1]}"><span>{$item.name[0]}</span><i>{$item.name[1]}</i></div>{else}<div class="box-head text-ellipsis" title="{$item.name}"><span>{$item.name}</span></div>{/if} {/if}<div class="box-body">{$item.data}</div></div>{/capture} {* Fill `custom` sideboxes *} {if $item.type === 'custom'} {$MY_sideboxes[$item.type].$key = $html} {continue} {/if} {* Fill `non-custom` sideboxes *} {$MY_sideboxes[$item.type] = $html} {/foreach}" unknown function "(" in /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatecompilerbase.php:627

Stack trace:
#0 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templateparser.php(2910): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown functio...')
#1 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templateparser.php(3111): Smarty_Internal_Templateparser->yy_r151()
#2 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templateparser.php(3211): Smarty_Internal_Templateparser->yy_reduce(151)
#3 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(17, '}')
#4 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatecompilerbase.php(171): Smarty_Internal_SmartyTemplateCompiler->doCompile('{* Initialize s...')
#5 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#6 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#7 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_template.php(285): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true)
#8 /var/www/html/hp/application/cache/templates/525c0298ef0a9833cdda5519c47547e3d6b6c798.file.template.tpl.php(38): Smarty_Internal_Template->getSubTemplate('application/the...', NULL, NULL, NULL, NULL, Array, 1)
#9 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatebase.php(180): content_6724289ca6c828_79771115(Object(Smarty_Internal_Template))
#10 /var/www/html/hp/application/libraries/Smarty.php(79): Smarty_Internal_TemplateBase->fetch('themes/stormgar...')
#11 /var/www/html/hp/application/libraries/template.php(187): CI_Smarty->view('themes/stormgar...', Array, true)
#12 /var/www/html/hp/application/libraries/template.php(139): Template->handleNormalPage('