ArgumentCountError thrown

Too few arguments to function _4dny_get_program_gallery(), 1 passed in /var/www/vhosts/ctyridny.cz/httpdocs/wp-content/themes/wpa9-ctyridny/template-parts/content-page.php on line 52 and exactly 2 expected