Knowledge Can't use Custom Domain with PHP SDK v7.x

Problem Statement

We have added a Custom Domain to our PHP application running on 7.1 and are getting an ‘invalid state’ error.

Solution

Custom Domains weren’t supported by the PHP SDK until v8.x was introduced. Please migrate to PHP v8.x.