Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Unable to validate App Keys(ClientID/ClientSecret) w/ Php 7.4.x [BUG] #159

Open
nickolaspz opened this issue Apr 6, 2020 · 3 comments · May be fixed by #160
Open

Unable to validate App Keys(ClientID/ClientSecret) w/ Php 7.4.x [BUG] #159

nickolaspz opened this issue Apr 6, 2020 · 3 comments · May be fixed by #160
Labels

Comments

@nickolaspz
Copy link

Describe the bug
When initializing ET_Client:
Unable to validate App Keys(ClientID/ClientSecret) Php 7.4.4. Works with Php <= 7.3.16.

To Reproduce
Upgrade to Php 7.4.4

Expected behavior
Should initialize ET_Client.

Code snippet
Unable to validate App Keys(ClientID/ClientSecret) provided.: Trying to access array offset on value of type null {"exception":"[object] (Exception(code: 0): Unable to validate App Keys(ClientID/ClientSecret) provided.: Trying to access array offset on value of type null at \vendor\salesforce-mc\fuel-sdk-php\src\ET_Client.php:436

Environment

  • "salesforce-mc/fuel-sdk-php": "^1.3"
  • PHP version 7.4.4
  • Windows 10 64x

I have looked into the similar issues and nothing mentions the error with php 7.4.x.

@nickolaspz nickolaspz added the bug label Apr 6, 2020
@stef686
Copy link

stef686 commented Apr 21, 2020

I am seeing this error also when using PHP 7.4.5. I have rolled back to PHP 7.3 for the time being

@mstralka mstralka linked a pull request Jun 2, 2020 that will close this issue
@jamzy118
Copy link

jamzy118 commented Oct 9, 2020

This is quite serious and we were able to reproduce it on 7.4.4 and 7.4.11

@danniehansen
Copy link

I we're able to reproduce this as well. Initially I made a fork fixing these exceptions over at: https://github.com/danniehansen/FuelSDK-PHP/tree/hotfix/php-7.4 (fell free to use this as a temporary solution - works fine. Have it running in production). Originally submitted this as a PR but later saw this #160

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants