ArgumentCountError thrown

Too few arguments to function wp_get_post_parent_id(), 0 passed in /nas/content/live/primetimes/wp-content/themes/exploding-dinosaur/gd-footer.php on line 6 and exactly 1 expected