Error message if either title or post is left blank