I have created site collection and activated SharePoint publishing infrastructure and SharePoint server publishing feature.
But When I tried to activate "SharePoint Server Publishing" Feature in sub site. I got following error.
Looks like something went wrong with the Publishing Infrastructure feature activation.
The content type mentioned in the screenshot is of Page content type created by Publishing feature.
To resolve the issue: