The use of the $post variable when querying posts before the main query can cause errors/warnings.
Warning: Undefined array key 0 in /wp-includes/class-wp-query.php
Using literally anything else for the variable clears this warning.
Thought I would share to save someone in the future some time.
Cheers!