object of class sendgrid\mail\mail could not be converted to string code example
Example: object of class sendgrid\mail\mail could not be converted to string
$query = "INSERT INTO cards VALUES('$this->type','$this->tag','{$this->author->last}',"
$query = "INSERT INTO cards VALUES('$this->type','$this->tag','{$this->author->last}',"