Critical Error when editing menu

The posts_page variable is looking for a page set as the “blog” page in the reading settings. At some point this was unset or the blog page was removed, it is not clear, but simply making a blank page and setting it as the “blog” page under settings->reading resolved the issue.