-
Notifications
You must be signed in to change notification settings - Fork 716
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
Error: Call to undefined method Smarty\Smarty::setErrorUnassigned() #979
Comments
Wow, after inspecting the code, I was going to say that I cannot find any reference of |
Also, there is overlap with |
I'm using this setter since Smarty 3.0 RC4. It always worked. |
I added a note in the upgrading docs about this. |
While upgrading to Smarty 5 I encountered this fatal error by calling this:
$this->smarty->setErrorUnassigned(true);
Not a big deal, the property is still there and I can set it directly like this:
$this->smarty->error_unassigned = true;
However the upgrade docs do not mention this. So I'm wondering are the getter/setter removed intentionally and the docs are missing some API method changes? Or should
setErrorUnassigned()
still work?The text was updated successfully, but these errors were encountered: