Type error after client tries request to invalid URL
lindyhopchris opened this issue · comments
Christopher Gammie commented
Getting this:
TypeError: Argument 1 passed to Neomerx\JsonApi\Exceptions\JsonApiException::addError() must implement interface Neomerx\JsonApi\Contracts\Document\ErrorInterface, null given, called in /home/cgammie/Development/cgammie/radio-poc/vendor/neomerx/json-api/src/Exceptions/JsonApiException.php on line 77
After using the guzzle client to submit a request when the URL is invalid (the base_uri
option incorrectly set).