We have added a Custom Domain to our PHP application running on 7.1 and are getting an ‘invalid state’ error.
Custom Domains weren’t supported by the PHP SDK until v8.x was introduced. Please migrate to PHP v8.x.