Error(500): The Response content must be a string or object implementing __toString(), "boolean" given.