I was asked to work on a recently upgraded Joomla 3.4.1 site from earlier versions of Joomla.
I had to copy the main template and create a new one. But when I went in the template manager -> templates to make the copy, the template manager was broken and the following Fatal error was reported:
Fatal error: Call to a member function get() on administrator/components/com_templates/views/templates/tmpl/default.php on line 101
What's wrong and how to fix this?