Php cannot assign null to property July 8, 2019 16 32 64 128 Php cannot assign null to property of type string Creating default object from empty value Cannot read properties of null (reading 'id')