You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
Describe the bug
On PHP >= 8, there is ocurring this warning error: Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in FuelSdk\ET_Client->createPayloadForOauth2() (line 392 of /app/vendor/salesforce-mc/fuel-sdk-php/src/ET_Client.php)
To Reproduce
Try to authenticate or send a Data Extension row.
Expected behavior
No throws PHP warning errors.
Possible solution:
Due to trim function on PHP +8 is expecting a string as parameter, use the null coalescing operator to provide a default value as appropriate.
Describe the bug
On PHP >= 8, there is ocurring this warning error:
Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in FuelSdk\ET_Client->createPayloadForOauth2() (line 392 of /app/vendor/salesforce-mc/fuel-sdk-php/src/ET_Client.php)
To Reproduce
Try to authenticate or send a Data Extension row.
Expected behavior
No throws PHP warning errors.
Possible solution:
Due to
trim
function on PHP +8 is expecting astring
as parameter, use the null coalescing operator to provide a default value as appropriate.Environment
The bug has the severity
The text was updated successfully, but these errors were encountered: