ArgumentCountError thrown

Too few arguments to function nggPostThumbnail::ngg_post_thumbnail(), 2 passed in /homepages/7/d421449007/htdocs/clientes2/milterapias/servicios-para-profesionales/wp-includes/class-wp-hook.php on line 286 and at least 3 expected