Title: Bug report
Last modified: October 29, 2020

---

# Bug report

 *  Resolved [komps](https://wordpress.org/support/users/komps/)
 * (@komps)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/bug-report-126/)
 * Hi
 * In the current version, the Captcha will not work; will give “invalid-input-secret”
   error message when submitting the form.
 * It seems that an unset variable $recaptcha_secret_key is used in class-form-validator.
   php row 427.
    Preceding that row with variable assignment solves this problem.
 *     ```
       $recaptcha_secret_key = $this->plugin_settings['recaptcha_v2_secret_key'];
        $recaptcha_response_get = wp_remote_get("https://www.google.com/recaptcha/api/siteverify?secret=" . $recaptcha_secret_key . "&response=" . $captcha . "&remoteip=" . $_SERVER['REMOTE_ADDR']);
       ```
   
 * Best regards
    Erik

Viewing 1 replies (of 1 total)

 *  Plugin Author [Roland Murg](https://wordpress.org/support/users/murgroland/)
 * (@murgroland)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/bug-report-126/#post-13601051)
 * Hello [@komps](https://wordpress.org/support/users/komps/),
 * Thanks for pointing this out. I have released an update that fixes this issue.

Viewing 1 replies (of 1 total)

The topic ‘Bug report’ is closed to new replies.

 * ![](https://ps.w.org/wp-booking-system/assets/icon-256x256.gif?rev=2691961)
 * [WP Booking System - Booking Calendar](https://wordpress.org/plugins/wp-booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-booking-system/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Roland Murg](https://wordpress.org/support/users/murgroland/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/bug-report-126/#post-13601051)
 * Status: resolved