ArgumentCountError thrown

Too few arguments to function swm_woocommerce_single_product_image_thumbnail_html(), 2 passed in /mnt/data/home/488754.cloudwaysapps.com/zestjhunkh/public_html/wp-includes/class-wp-hook.php on line 288 and exactly 4 expected