Summary:
Serialization of 'Closure' is not allowed
Detailed Description:
when using the cge_cache block plugin, it errors with:
ERROR: at line 600 in file
/path/modules/CGExtensions/lib/class.smarty_plugins.php:
Message:
Serialization of 'Closure' is not allowed
Full stack trace:
#0 /path/modules/CGExtensions/lib/class.smarty_plugins.php(600):
serialize(Array)
#1 /path/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(596):
CGExtensions\smarty_plugins->cache_start(Array,
Object(Smarty_Internal_SmartyTemplateCompiler))
#2 /path/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(486):
Smarty_Internal_TemplateCompilerBase->compileTag2('cge_cache', Array, Array)
#3 /path/lib/smarty/sysplugins/smarty_internal_templateparser.php(1649):
Smarty_Internal_TemplateCompilerBase->compileTag('cge_cache', Array)
#4 /path/lib/smarty/sysplugins/smarty_internal_templateparser.php(2684):
Smarty_Internal_Templateparser->yy_r30()
#5 /path/lib/smarty/sysplugins/smarty_internal_templateparser.php(2779):
Smarty_Internal_Templateparser->yy_reduce(30)
#6 /path/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(114):
Smarty_Internal_Templateparser->doParse(12, '{')
#7 /path/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(404):
Smarty_Internal_SmartyTemplateCompiler->doCompile('<body id='boxed...', true)
#8 /path/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(336):
Smarty_Internal_TemplateCompilerBase->compileTemplateSource(Object(CMS_Smarty_Template),
false, NULL)
#9 /path/lib/smarty/sysplugins/smarty_template_compiled.php(204):
Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(CMS_Smarty_Template))
#10 /path/lib/smarty/sysplugins/smarty_template_compiled.php(100):
Smarty_Template_Compiled->compileTemplateSource(Object(CMS_Smarty_Template))
#11 /path/lib/smarty/sysplugins/smarty_template_compiled.php(163):
Smarty_Template_Compiled->process(Object(CMS_Smarty_Template))
#12 /path/lib/smarty/sysplugins/smarty_internal_template.php(206):
Smarty_Template_Compiled->render(Object(CMS_Smarty_Template))
#13 /path/lib/smarty/sysplugins/smarty_internal_templatebase.php(216):
Smarty_Internal_Template->render(false, 0)
#14 /path/lib/smarty/sysplugins/smarty_internal_templatebase.php(107):
Smarty_Internal_TemplateBase->_execute(Object(CMS_Smarty_Template), 'p1', NULL,
NULL, 0)
#15 /path/lib/classes/internal/class.CMS_Smarty_Template.php(20):
Smarty_Internal_TemplateBase->fetch(NULL, 'p1', NULL, NULL)
#16 /path/index.php(158): CMS_Smarty_Template->fetch()
#17 {main}