Fixed Edit Post, Fixed Error Logging