I came across a bug that caused a fatal error in php when I try to edit a bricks template that is set to be a footer and has the populate content setting configured with a post that no longer exists.
We had a “7” meaning the post with the ID of “7” in the populate content section. Removing that reference to the no longer existing post resolved the issue.