Error checking

Having issues with creating a post. Trying to test where the problem is.