I'm trying to move from Smarty 2 to 3
I get error like this:
Fatal error: Call to undefined method stdClass::__set_state() in ....
Problem occurs only if I enable smarty caching for that page. If I disable cache then all works fine.
Here is part of compiled smarty cache file where problem occurs:
<div >
<?php echo insert_quickorderMenuLinks(array (
'category' =>
stdClass::__set_state(array(
'category_id' => '4633',
'site_type_id' => '17',
'name' => 'Shop',
'parent_category_id' => '4569',
)),
'shop_group_id' => '25',
),$_smarty_tpl);?>
</div>
Can somebody tell me what is wrong here and how to fix ? Thanks!