I defined a function in my Post Snippet. Including the second Post Snippet attempted to define a function that was already defined. You can’t do that!
I wrapped it in a conditional if(!function_exists('foo')){ and everything got a lot better. I’ll leave this here in case anyone else makes the same mistake I did.