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

Twig Runtime Error V2.0.0 #55

Closed
ghost opened this issue Aug 4, 2018 · 1 comment
Closed

Twig Runtime Error V2.0.0 #55

ghost opened this issue Aug 4, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 4, 2018

When calling http://demo.local/cheatsheet there is a twig runtime error:

Impossible to invoke a method ("strRepeat") on a string variable ("_includes/fieldMacros.twig").

in \vendor\focuslabllc\craft-cheat-sheet\src\templates\frontEnd_includes\fieldMacros.twig line 667.

~ _self.strRepeat(' ', max(rowWhitespace) - col.handle|length)

Removing this line helps, could not notice anything wrong on the output at a first glance.

Thanks.

@erikreagan
Copy link
Member

@wsydney76 I just published 2.0.1 which should fix this. Thanks!

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