Tried bumping to Twig 2.0 locally, getting a Twig_Error_Runtime: Accessing Twig_Template attributes is forbidden. in ROOT/templates/tracker/issues.index.twig:47
error message. From a quick search, this is usually related to macros, but in this particular case the error line is using our translation filter ({{ 'Status'|_ }}
is the exact issue). Trying to add a filter named translate
or using the functions doesn't help matters.
So, something in our setup is causing Twig to bug out. Whether we've hit a core bug with them or it's an issue on our end is to be determined.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-02-12 19:32:33 |
Closed_By | ⇒ | mbabker |
Nevermind, it was a macros related issue. 2.0 requires macros to be imported in each file, I found the one file that needed this import.