ArgumentCountError thrown

Too few arguments to function nggPostThumbnail::ngg_post_thumbnail(), 2 passed in /var/www/wp-includes/class-wp-hook.php on line 292 and at least 3 expected