I deleted the plugin and replaced line 51-52 as you suggested. I received these errors after I activated it:
Warning: require_once(__DIR__/vendor/kminh/bwp-framework/src/class-bwp-version.php) [function.require-once]: failed to open stream: No such file or directory in /home/pnwqua5/public_html/test_conference_wordpress/wp-content/plugins/bwp-recaptcha/bwp-recaptcha.php on line 32
Fatal error: require_once() [function.require]: Failed opening required ‘__DIR__/vendor/kminh/bwp-framework/src/class-bwp-version.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/pnwqua5/public_html/test_conference_wordpress/wp-content/plugins/bwp-recaptcha/bwp-recaptcha.php on line 32
I can’t access anything on my dashboard once I get this message. The only way I’ve found to get around this is to delete the plugin directory entirely. I am running WP 4.03 and PHP Version 5.4.43.