`prepare_post()` can return `WP_Error`

Catch before we try to use it as an array