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/modules/sidebox_event/event.tpl" on line 1 "{if $cfg.event.enabled} {capture assign=data}<div class="event-banner" style="background-image:url('{$cfg.event.cover.image}')"><a href="{$cfg.event.cover.link}" data-fancybox><i class="fa-solid fa-play"></i></a></div><div class="event-data">{if is_array($cfg.event.data) && count($cfg.event.data) >= 1} {foreach from=$cfg.event.data key=key item=item}<div class="data-item {if $key == key(reset($cfg.event.data))}first-item{/if}"><div class="item-state"><i class="dot"></i></div><div class="item-name text-ellipsis">{if $item.link}<a href="{$item.link}" target="_blank" title="{$item.text}">{$item.text}</a>{else}<span title="{$item.text}">{$item.text}</span>{/if}</div><div class="item-date">{$item.date} <i>{$item.time}</i></div></div>{/foreach} {else}<span class="text-center fst-italic d-block">{MY_lang('event_na')}.</span>{/if}</div>{/capture} {* Prepare sidebox *} {$data = [['name' => "{MY_lang('event_title')}[|]{MY_lang('event_desc')}", 'data' => {$data}, 'type' => 'event']]} {* Append sidebox *} {$sideboxes = array_merge(array_slice($sideboxes, 0, 99), $data, array_slice($sideboxes, 99))}" - Unexpected ", " 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(36, ', ')
#2 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(36, ', ')
#3 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatecompilerbase.php(171): Smarty_Internal_SmartyTemplateCompiler->doCompile('{if $cfg.event....')
#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/56470e5ece5a7edfb06290c6bb740208dc9431e2.file.sidebox.tpl.php(47): 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_677a54e52bd223_43690044(Object(Smarty_Internal_Template))
#9 /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)
#10 /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)
#11 /var/www/html/hp/system/smarty/sysplugins/smarty_internal_templatebase.php(180): content_677a54e529a9e4_55088911(Object(Smarty_Internal_Template))
#12 /var/www/html/hp/application/libraries/Smarty.php(79): Smarty_Internal_TemplateBase->fetch('themes/stormgar...')
#13 /var/www/html/hp/application/libraries/template.php(187): CI_Smarty->view('themes/stormgar...', Array, true)
#14 /var/www/html/hp/application/libraries/template.php(139): Template->handleNormalPage('
#16 /var/www/html/hp/application/modules/bugtracker/controllers/bugtracker.php(40): Issue->view('21022', 'Bots%20no%20lon...')
#17 /var/www/html/hp/system/core/CodeIgniter.php(356): Bugtracker->_remap('21022', Array)
#18 /var/www/html/hp/index.php(154): require_once('/var/www/html/h...')
#19 {main}