ArgumentCountError thrown

Too few arguments to function avia_woocommerce_gallery_thumbnail_description(), 2 passed in /var/www/vhosts/agriprom.nl/httpdocs/wordpress/wp-includes/class-wp-hook.php on line 298 and exactly 4 expected