Ethan,
For some reason WordPress native function get_post does not return a proper object. This can be caused by some filters declared by other plugins. Also I have a theory that this is related to Menu builder but currently can’t prove any suggestion.
It such a case the emergency solution is to silence the Fatal Error.