Error thrown

Attempt to assign property "location_post" on null