• Resolved Tim

    (@stauss)


    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://www.ads-software.com/plugins/google-captcha/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Tim

    (@stauss)

    This happens after i did a plugin update of Google reCaptcha today. I am using wordpress 4.3

    Thread Starter Tim

    (@stauss)

    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.

    Good work, that fixed it for me. But I changed 4 lines that contained (A).

    Thread Starter Tim

    (@stauss)

    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

    (@bestwebsoft)

    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.