“Cannot delete last style of template” when trying to delete a template in Joomla! 1.6
- To remove a template you will have to click on Extensions and then Extention Manager
- Click on the Manage tab
- Search for your template “Filter by Type and select Template to make things easier“
- Check the checkbox next to your Template and click on the Uninstall button at the top right corner
- The Template will now uninstall
If it says that the template has been uninstalled and you still see your Template in the template Styles or you still get the error when you try to remove, you will have to remove them manually within the jos_template_styles table in your database.