Created on 7 November 2022, over 1 year ago
Updated 25 January 2023, over 1 year ago

Problem/Motivation

SendGrid can send out email, but there are error messages on function jsonSerialize

Steps to reproduce

Module installed on Drupal 9.
In SendGrid module, do "SendGrid email test".
The email is sent out successfully, but there are several error messages related to function jsonSerialize() which is used in several places. For example,
Deprecated function: Return type of SendGrid\Mail\SandBoxMode::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include()

Similar errors on SendGrid\Mail\OpenTracking::jsonSerialize(), SendGrid\Mail\ClickTracking::jsonSerialize() etc.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024