Regarding this error
Invalid argument supplied for foreach()
It's complaining about the content of $reCaptchaKeys which is defined by what you have replaced in this line:
PHP Code:
$reCaptchaKeys[] = ['domain' => 'www.yoursite.com', 'sitekey' => 'ENTER_YOUR_SITE_KEY_HERE', 'privatekey' => 'ENTER_YOUR_PRIVATE_KEY_HERE'];
There are three components in that line, something is wrong there.
If you revert to the original as above your should see the same error on the shop, but no debug, indicating that the error is indeed there.
Bookmarks