You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Come across an issue where if there is a context or system setting in the Wayfinder tpls then it'll get incorrectly sucked into the tvList array.
This results in PHP warnings being logged (and can be numerous per Wayfinder call) basically along the lines of "Array key does not exist: +my_setting"
Come across an issue where if there is a context or system setting in the Wayfinder tpls then it'll get incorrectly sucked into the tvList array.
This results in PHP warnings being logged (and can be numerous per Wayfinder call) basically along the lines of "Array key does not exist: +my_setting"
To fix this, I amended the regex in the findTemplateVars function in the Wayfinder class to be a bit more specific:
~\[\[\+([^\+]*?)\]\]~
Worked in my use-case but not sure if it needs anything more than that for general inclusion at this time.
The text was updated successfully, but these errors were encountered: