debuger25
Forum Replies Created
-
Hello Temyk, Thank you so much for helping me with this and pointing out my error. You are an great assert this company. Have a wonderful day.
Following is the error I get (you can see this by going to: http://www.chfoundationlubbock.com/contact/
Parse error: syntax error, unexpected end of file in /home/chfounda/public_html/wp-content/plugins/insert-php/includes/shortcodes/shortcode-insert-php.php(25) : eval()’d code on line 8
I think another issue could be that google recaptcha deprecating code in their recaptchalib.php file as well. ReCaptcha has a deprecated constructor
Thank you for the help.
Hello Temyk. Thank you for the reply. I see that the old [insert_php]..[/insert_php] works. I was able to point out that the following php code is what stopped working with the updated plugin. This same code used to work fine before the plugin got updated (this code is provided by google for ReCaptcha):
[insert_php]
$secret = “XXXXXXXXXXXXXXXXXXXX”; // your secret key
$response = null;// empty response
$reCaptcha = new ReCaptcha($secret);// check secret key
$response = $reCaptcha->verifyResponse($_SERVER[“REMOTE_ADDR”], $_POST[“g-recaptcha-response”]);
if ($response != null && $response->success) {
exit(0);
[/insert_php]Please let me know if you have any idea about why this peace of php code stopped working. It used to work fine before and I haven’t made any changes to it.
I have turned on “Support old shorcodes [insert_php]” option, But it still doesn’t work. Please double check and see if this work for you. I have tried turning this on and off in several of my web pages that use your plug in and saving it. But still doesn’t work