SmartyException

Invalid compiled template for '/home/alcodefi/www/protected/modules/website/widgets/views/popup.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_templatebase.php(377): Smarty_Internal_TemplateBase->fetch(null, null, null, null, ...)
372      * @param object $parent     next higher level of Smarty variables
373      */
374     public function display($template = null, $cache_id = null, $compile_id = null, $parent = null)
375     {
376         // display template
377         $this->fetch($template, $cache_id, $compile_id, $parent, true);
378     }
379 
380     /**
381      * test if cache is valid
382      *
#1
+
 /home/alcodefi/www/protected/extensions/yiiext/renderers/smarty/ESmartyViewRenderer.php(275): Smarty_Internal_TemplateBase->display()
270 
271         // render or return
272         if($return)
273             return $template->fetch();
274         else
275             $template->display();
276     }
277 
278     /**
279      * removes all files from compile dir
280      * @since 1.0.1
#4
+
 /home/alcodefi/www/protected/modules/website/widgets/PopupWidget.php(23): CWidget->render("popup", array("pageModel" => Page))
18             ));
19 
20             if(isset($pageModel) and !empty($pageModel) and count($pageModel))
21                 $this->render('popup', array(
22                     'pageModel'=>$pageModel,
23                 ));
24         }
25 
26     }
27 }
28 
2024-03-28 22:50:23 Apache Yii Framework/1.1.14