added some more error checking in Post.php and all of the feedItems