[Tiki-devel] Call to undefined method in fresh installed 27.2
Karsten Wemheuer via TikiWiki-devel <[email protected]> Wed, 28 May 2025 17:50:00 +0200
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I just do a fresh install of Tiki 27.2 LTS.
I got this error message
Call to undefined method TikiLib::sanitizeEvalExpression()
As I understand it, line 56 in file lib/wiki-
plugins/wikiplugin_includetpl.php is the cause.
I checked the previous version and see this diff between 27.1 and 27.2.
--- tiki-27.1/lib/wiki-plugins/wikiplugin_includetpl.php
+++ tiki-27.2/lib/wiki-plugins/wikiplugin_includetpl.php
@@ -53,5 +53,5 @@
}
$smarty->assign('values', $defvalues);
- return $smarty->fetch($params["filename"]);
+ return $smarty-
>fetch(TikiLib::sanitizeEvalExpression($params["filename"]));
}
I can not find the method TikiLib::sanitizeEvalExpression in the tar
ball of 27.2. How can I to fix this?
Thank you for any advice!
Best regards
Karsten