This is an EE2 site that I have cloned from production. I've copied all files and cloned the backing database. I'm able to enter the control panel and most things appear to be working.
However, when I attempt to load a page that relies on templates I get the "undefined variable: templateGroup".
These files exists in the same path and show up in the Template Manager. I've not been able to find anything in the configuration that I can change to fix this.
The only other reference I found to this bug, is when upgrading EE2, but I'm not upgrading -- just cloning the site.
Any help would be appreciated.