ArgumentCountError thrown

Too few arguments to function wp_get_post_parent_id(), 0 passed in /home/dev/sites/www.outdoorphotographer.com/public/wp-content/themes/odp/single-contest-special-offer.php on line 21 and exactly 1 expected