I doubt it's an issue with this plugin, at least not with the code you showed me.
In fact, if it's the process of installing the plugin, that code isn't even executed at all in the AdminCP.
It looks like some plugin is destroying the $templates object from what I can tell. You'll need to track down which plugin is doing this...
In fact, if it's the process of installing the plugin, that code isn't even executed at all in the AdminCP.
It looks like some plugin is destroying the $templates object from what I can tell. You'll need to track down which plugin is doing this...