salesforce-marketingcloud / FuelSDK-PHP

FuelSDK-PHP
MIT License
134 stars 142 forks source link

Connecting from a local environment #157

Open paulgoodfield opened 4 years ago

paulgoodfield commented 4 years ago

I'm having an issue where I can connect successfully when testing from a live domain, but when testing on a local environment I always get the following error returned from the ET_Client class:

Unable to validate App Keys(ClientID/ClientSecret) provided.: Trying to access array offset on value of type null

The config settings are exactly the same on both environments. PHP versions slightly differ:

Local Env: 7.4.1 Live Env: 7.2.24

ekateiva commented 4 years ago

This is because of PHP 7.4 More details in https://github.com/salesforce-marketingcloud/FuelSDK-PHP/issues/159