ArgumentCountError thrown

Too few arguments to function get_post_ancestors(), 0 passed in /home/tuvkarpat/public_html/wp-content/themes/creative-on/subcategory.php on line 57 and exactly 1 expected