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

_tag_stack no longer exists starting in Smarty 3.1.28 #151

Closed
moseslecce opened this issue Jan 4, 2016 · 1 comment
Closed

_tag_stack no longer exists starting in Smarty 3.1.28 #151

moseslecce opened this issue Jan 4, 2016 · 1 comment

Comments

@moseslecce
Copy link

When a plugin attempting to access the $smarty->_tag_stack variable is used, the following error occurs:

Fatal error: Uncaught --> Smarty: template property '_tag_stack' does not exist. <-- thrown in sysplugins/smarty_internal_template.php on line 364

The manual for Smarty 3 mentions the following [found here: http://www.smarty.net/docs/en/plugins.block.functions.tpl]

"If you have nested block functions, it's possible to find out what the parent block function is by accessing $smarty->_tag_stack variable. Just do a var_dump() on it and the structure should be apparent."

and this functionality has worked until this version, and continues to work in Smarty 3.1.27.

@uwetews
Copy link
Contributor

uwetews commented Jan 29, 2016

The fix is now in the master branch and will later be included in 3.1.30

@uwetews uwetews closed this as completed Jan 29, 2016
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