Created some fallbacks just incase the post meta is not included and the server wouldn't completely fail.