XenForo 2.2.18 / 2.3.9 intoduce a new security mechanisam for accessing the App container.
If there is code that runs during template rendering and modifies container values, this code must be adapted.
@Chris D
This is IMHO a somewhat breaking change, might be worth to note this in the release announcement.