Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

_decodeProperties() undefined method

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
jservedio
Smarty n00b


Joined: 17 Feb 2017
Posts: 1

PostPosted: Fri Feb 17, 2017 5:28 pm    Post subject: _decodeProperties() undefined method Reply with quote

For a super basic setup of Smarty 3.1.30, I am getting the following error:

Fatal error: Uncaught --> Smarty: Smarty_Internal_Template->_decodeProperties() undefined method <-- thrown in E:\Web\Customer Websites\Interfaith\includes\Smarty\sysplugins\smarty_internal_undefined.php on line 47

And I haven't been able to troubleshoot it.

It is able to read the template and write the compiled template. This error is thrown on
Code:
$smarty->display('test.tpl');


Here is what the compiled template looks like:
Code:

<?php
/* Smarty version 3.1.30, created on 2017-02-17 11:15:27
  from "E:\Web\Customer Websites\Interfaith\templates\test.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_58a72faf4e53c4_93062501',
  'has_nocache_code' => false,
  'file_dependency' =>
  array (
    'daf7823c92ae23c76e9240192914c7a19d8ac93a' =>
    array (
      0 => 'E:\\Web\\Customer Websites\\Interfaith\\templates\\test.tpl',
      1 => 1487350129,
      2 => 'file',
    ),
  ),
  'includes' =>
  array (
  ),
),false)) {
function content_58a72faf4e53c4_93062501 (Smarty_Internal_Template $_smarty_tpl) {
?>
<h1>Smarty Basic Installation Working</h1><?php }
}
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Feb 17, 2017 6:41 pm    Post subject: Reply with quote

Try reinstalling Smarty. Probably you have more than one version of it installed.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP