added post and category error partial