Title: Parse error Syntax error in google-captcha.php
Last modified: August 30, 2016

---

# Parse error Syntax error in google-captcha.php

 *  Resolved [Tim](https://wordpress.org/support/users/stauss/)
 * (@stauss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-google-captchaphp/)
 * Error message “Parse error: syntax error, unexpected T_STRING in ../wp-content/
   plugins/google-captcha/google-captcha.php on line 560”
 * >  if ( isset( $gglcptch_options[‘recaptcha_version’] ) && ‘v2’ == $gglcptch_options[‘
   > recaptcha_version’] ) {
   >  require_once( ‘lib_v2/src/autoload.php’ ); $reCaptcha
   > = new \ReCaptcha\ReCaptcha( $privatekey ); $content .= ‘<style type=”text/css”
   > media=”screen”> #gglcptch_error { color: #F00; } </style>
 * Line 560 is $reCaptcha …
 * Any help?
 * [https://wordpress.org/plugins/google-captcha/](https://wordpress.org/plugins/google-captcha/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [Tim](https://wordpress.org/support/users/stauss/)
 * (@stauss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-google-captchaphp/#post-6479361)
 * This happens after i did a plugin update of Google reCaptcha today. I am using
   wordpress 4.3
 *  Thread Starter [Tim](https://wordpress.org/support/users/stauss/)
 * (@stauss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-google-captchaphp/#post-6479371)
 * Dear All,
 * I have managed to resolved this issue.
    (A) Root of the problem: Additional **\
   ReCaptcha**\ReCaptcha( $privatekey );
 * Just removed “**\ReCaptcha**” and the website will load properly.
    There are 
   3 lines that contains (A). You will need to remove all the addition “\ReCaptcha”
 * BestWebSoft Team, kindly verify if this is the permenant solution.
 *  [mikeltc](https://wordpress.org/support/users/mikeltc/)
 * (@mikeltc)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-google-captchaphp/#post-6479422)
 * Good work, that fixed it for me. But I changed 4 lines that contained (A).
 *  Thread Starter [Tim](https://wordpress.org/support/users/stauss/)
 * (@stauss)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-google-captchaphp/#post-6479477)
 * You right. its 4 lines.
    Line 560,665,732,807. This allows me to load my website
   properly for me to disable the plugin as the plugin is not working at all. It
   throws some errors. Hope that it will be fixed and debug properly in the next
   release.
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-google-captchaphp/#post-6479584)
 * Hi,
 * We released new plugin version where this problem is solved. Please update the
   plugin.
 * Sincerely,
    BestWebSoft Support Team

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Parse error Syntax error in google-captcha.php’ is closed to new replies.

 * ![](https://ps.w.org/google-captcha/assets/icon-256x256.gif?rev=2565249)
 * [reCaptcha by BestWebSoft](https://wordpress.org/plugins/google-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/google-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-captcha/reviews/)

## Tags

 * [reCAPTCHA](https://wordpress.org/support/topic-tag/recaptcha/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 5 replies
 * 3 participants
 * Last reply from: [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-google-captchaphp/#post-6479584)
 * Status: resolved