I am facing very strange issue. I have created a site template from a site which has simply Wiki Pages, Lists and Libraries. Lists are using some Content Types which already exist in parent site.
I can create a site using that template, it creates successfully, work well but application pages like settings(_layouts/settings.aspx), permission, etc. pages are throwing "Unexpected error occurred".
FYI: I am not using Publishing pages but few site at top level are using Publishing feature.