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

Dubugging template rendering #406

Open
devope opened this issue Oct 6, 2022 · 0 comments
Open

Dubugging template rendering #406

devope opened this issue Oct 6, 2022 · 0 comments

Comments

@devope
Copy link

devope commented Oct 6, 2022

I have the same problem described here: https://stackoverflow.com/questions/24866030/mustache-php-debugging
Template waits a string, so accidentally passing an array causes a nightmare of debugging.

I am throw an exception inside of 'escape' to understand in which template file the problem occurs, but I still can't figure out which {{variable}} received an array.

Do we have some way to resolve this problem?
I scanned source code, but couldn't find any API for this.

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

1 participant