-
Notifications
You must be signed in to change notification settings - Fork 178
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
escape is not batchable #96
Comments
@phofmann-trust what PHP version are you using ? |
I was using PHP 5.5 at that time. Edit: I just tried again with PHP 5.6.18. I still get the same error. |
@pascal-hofmann have you tried
This should batch those two funcs first, then escape the string. |
@pascal-hofmann does this resolve your issue? |
This issue was happening because the template methods were not public. This has now been fixed! See 3688ad5. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
escape is not batchable since it has been moved from a default extension to the Template class. So the example:
on http://platesphp.com/templates/functions/ does not work. I get a LogicException:
Background: I want to do
The text was updated successfully, but these errors were encountered: