TypeError thrown

Argument 2 passed to WPCF7_Integration::add_service() must be an instance of WPCF7_Service, instance of WPCF7_RECAPTCHA given, called in /var/www/localhost/htdocs/wp-content/plugins/contact-form-7/modules/recaptcha.php on line 228