SmartyException

Invalid compiled template for '/home/alcodefi/www/themes/website/views//layouts/_header.tpl'

/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(176)

164                             $code = file_get_contents($_template->compiled->filepath);
165                             eval("?>" . $code);
166                             unset($code);
167                             $_template->compiled->isCompiled = true;
168                         }
169                         $_template->compiled->loaded = true;
170                     } else {
171                         $_template->decodeProperties($_template->compiled->_properties, false);
172                     }
173                     try {
174                         ob_start();
175                         if (empty($_template->properties['unifunc']) || !is_callable($_template->properties['unifunc'])) {
176                             throw new SmartyException("Invalid compiled template for '{$_template->template_resource}'");
177                         }
178                         array_unshift($_template->_capture_stack,array());
179                         //
180                         // render compiled template
181                         //
182                         $_template->properties['unifunc']($_template);
183                         // any unclosed {capture} tags ?
184                         if (isset($_template->_capture_stack[0][0])) {
185                             $_template->capture_error();
186                         }
187                         array_shift($_template->_capture_stack);
188                     } catch (Exception $e) {

Stack Trace

#0
+
 /home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_template.php(284): Smarty_Internal_TemplateBase->fetch(null, null, null, null, ...)
279             foreach ($data as $_key => $_val) {
280                 $tpl->tpl_vars[$_key] = new Smarty_variable($_val);
281             }
282         }
283 
284         return $tpl->fetch(null, null, null, null, false, false, true);
285     }
286 
287     /**
288      * Template code runtime function to set up an inline subtemplate
289      *
#1
 /home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(151) : eval()'d code(132): Smarty_Internal_Template->getSubTemplate("/home/alcodefi/www/themes/website/views//layouts/_header.tpl", null, null, 0, ...)
#2
+
 /home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(182): content_6606959cec8719_77785175(Smarty_Internal_Template)
177                         }
178                         array_unshift($_template->_capture_stack,array());
179                         //
180                         // render compiled template
181                         //
182                         $_template->properties['unifunc']($_template);
183                         // any unclosed {capture} tags ?
184                         if (isset($_template->_capture_stack[0][0])) {
185                             $_template->capture_error();
186                         }
187                         array_shift($_template->_capture_stack);
2024-03-29 11:19:08 Apache Yii Framework/1.1.14