Error thrown

Attempt to assign property "post_content" on null