colymba / silverstripe-restfulapi

SilverStripe RESTful API with a default JSON serializer.
BSD 3-Clause "New" or "Revised" License
64 stars 34 forks source link

Added fix for Uncaught TypeError #109

Open joelgrondrup opened 10 months ago

joelgrondrup commented 10 months ago

Added this fix to solve:

Argument 1 passed to SilverStripe\Control\HTTPResponse::sanitiseHeader() must be of the type string, null given.

At line 448 in RESTfulAPI.php