ArgumentCountError thrown

Too few arguments to function ampforwp_custom_twitter_image_homepage(), 0 passed in /home/hkpjcorg53/domains/hkpjc.org/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 1 expected