|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
s2provn Smarty n00b
Joined: 23 Feb 2017 Posts: 1
|
Posted: Thu Feb 23, 2017 9:20 am Post subject: [Smarty 3.1.30] Fatal error: Uncaught --> Smarty: Smar |
|
|
My code:
Code: | $smarty->caching = 2;
$smarty->cache_lifetime = 86400;
$smarty->compile_check = true;
if(!$smarty->is_cached('index.tpl')) {
$data = $admin->load();
$smarty->assign('data', $data);
}
$smarty->display('index.tpl'); |
When run:
Code: | Fatal error: Uncaught --> Smarty: Smarty->is_cached() undefined method <-- thrown in C:\xampp\htdocs\startup\plugin\smarty\sysplugins\smarty_internal_undefined.php on line 47 |
Plz help me fix it.[/code] |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|