Code: Select all
$gCms = cmsms();
$nofb = array("home","how-to-use","faq","contact-form","sitemap","google-custom-search","news","site-news","archived-news","testbed","search-results");
$nohd = array("news","site-news","archived-news");
$smarty = $gCms->GetSmarty();
$smarty->assign('no_fb',$nofb);
$smarty->assign('no_hd',$nohd);
The UDT has been working in my template for ages, what is wrong with it now?Error: at line 806 in file /data01/.../lib/smarty/sysplugins/smarty_internal_templatebase.php:
Message:
Call of unknown method 'capture_error'.
Full trace:
#0 /data01/.../tmp/templates_c/baaf7c1758d71bcdac855b8611e8c0b1008e3798.tpl_body.46.php(147): Smarty_Internal_TemplateBase->__call('capture_error', Array)
#1 /data01/.../tmp/templates_c/baaf7c1758d71bcdac855b8611e8c0b1008e3798.tpl_body.46.php(147): Smarty_CMS->capture_error()
#2 /data01/.../lib/smarty/sysplugins/smarty_internal_templatebase.php(180): content_502c179b65b033_60058051(Object(Smarty_Internal_Template))
#3 /data01/.../lib/classes/class.Smarty_CMS.php(334): Smarty_Internal_TemplateBase->fetch('tpl_body:46', 'p363', NULL, NULL, false, false, false)
#4 /data01/.../index.php(239): Smarty_CMS->fetch('tpl_body:46')
#5 {main}