Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3.1.25 produce error on nocache function #55

Closed
sofl88 opened this issue Jun 16, 2015 · 1 comment
Closed

Version 3.1.25 produce error on nocache function #55

sofl88 opened this issue Jun 16, 2015 · 1 comment

Comments

@sofl88
Copy link

sofl88 commented Jun 16, 2015

After updating from 3.1.23 to 3.1.25, I get a fatal error like

Fatal error: Call to undefined function smarty_function_testfunc() in C:\path\to\Cache\62\b1\ff\62b1ff3d740b834c8454b925562791706a82261a.view.tpl.php on line 749

This seem to appear when I use a function in my template with the nocache flag like {testfunc nocache}
When I look into the cache file, It isn't even a part of the require / include list. I expected "if (!is_callable('smarty_function_testfunc')) require_once ..."

I use addPluginsDir multiple times (absolute paths only) and use_sub_dirs = true...if that may help

uwetews added a commit that referenced this issue Jun 17, 2015
… like {foo nocache} caused call to undefined function #55
@uwetews
Copy link
Contributor

uwetews commented Jun 18, 2015

The fix is now in 3.1.27

@uwetews uwetews closed this as completed Jun 18, 2015
think-mcunanan pushed a commit to think-mcunanan/smarty that referenced this issue Mar 22, 2023
…-support-to-display-notes-data-of-new-web-reservation-transaction

Redmine #5314: Adding support to display notes data of new web reservation transaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants