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}" - Unexpected ")", expected one of: "{" , "identifier" 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(3154): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templateparser.php(3219): Smarty_Internal_Templateparser->yy_syntax_error(38, ')')
#2 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(38, ')')
#3 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatecompilerbase.php(171): Smarty_Internal_SmartyTemplateCompiler->doCompile('{* Initialize s...')
#4 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#5 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#6 /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)
#7 /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)
#8 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatebase.php(180): content_676d2cf56e2a08_61374202(Object(Smarty_Internal_Template))
#9 /var/www/html/hp/application/libraries/Smarty.php(79): Smarty_Internal_TemplateBase->fetch('themes/stormgar...')
#10 /var/www/html/hp/application/libraries/template.php(187): CI_Smarty->view('themes/stormgar...', Array, true)
#11 /var/www/html/hp/application/libraries/template.php(139): Template->handleNormalPage('
#13 /var/www/html/hp/system/core/CodeIgniter.php(356): Profile->index('8509')
#14 /var/www/html/hp/index.php(154): require_once('/var/www/html/h...')
#15 {main}