solve the error problem after posting new blog

in post action, add a setAttribute action to add an empty comment list