Title: php errors
Last modified: July 16, 2019

---

# php errors

 *  Resolved [kbi_user](https://wordpress.org/support/users/kbi_user/)
 * (@kbi_user)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-errors-167/)
 * plugin version 1.45, free version
 * before: activated recaptcha version “Invisible”, saved, returned to version 3,
   saved.
 * The following errors come up:
 * Google Captcha Settings
 * Notice: compact(): Undefined variable: notice in /var/www/<snip>/httpdocs/wp-
   content/plugins/google-captcha/includes/class-gglcptch-settings-tabs.php on line
   139
 * Notice: compact(): Undefined variable: error in /var/www/<snip>/httpdocs/wp-content/
   plugins/google-captcha/includes/class-gglcptch-settings-tabs.php on line 139
 * Notice: compact(): Undefined variable: notice in /var/www/<snip>/httpdocs/wp-
   content/plugins/google-captcha/bws_menu/class-bws-settings.php on line 713
 * reCAPTCHA version was changed. Please submit “Test reCAPTCHA” and regenerate 
   Site and Secret keys if necessary.
 * Settings saved.
 * —-
    What I did: 1. uninstall, delete, reinstall 2. deactivated all plugins, except
   recaptcha …
 * nothign helped, error returned
    -  This topic was modified 6 years, 10 months ago by [kbi_user](https://wordpress.org/support/users/kbi_user/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-167%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [tduffysaf](https://wordpress.org/support/users/tduffysaf/)
 * (@tduffysaf)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-errors-167/#post-11737268)
 * As of this morning, I’m getting PHP errors too. Site was suddenly error 500 and
   nothing would load. I had to change the name of the google-captcha plugin folder
   to google-captcha-disabled in order to get the site to load. So, now the site
   loads, but the plugin doesn’t work. When I try to update the plugin it fails 
   because the folder name has changed…but I can’t change it back or it will break
   the site and dashboard again.
 * Really not sure what to do.
 * This is from /var/log/apache2/error.log:
 * [Tue Jul 16 13:45:02.018834 2019] [:error] [pid 1660] [client 111.92.87.161:21892]
   PHP Warning: require_once(/path/htdocs/wp-content/plugins/google-captcha/includes/
   forms.php): failed to open stream: No such file or directory in /path/htdocs/
   wp-content/plugins/google-captcha/google-captcha.php on line 30
    [Tue Jul 16 
   13:45:02.018885 2019] [:error] [pid 1660] [client 111.92.87.161:21892] PHP Fatal
   error: require_once(): Failed opening required ‘/path/htdocs/wp-content/plugins/
   google-captcha/includes/forms.php’ (include_path=’.:/usr/share/php:/usr/share/
   pear’) in /path/htdocs/wp-content/plugins/google-captcha/google-captcha.php on
   line 30 [Tue Jul 16 13:45:05.294287 2019] [:error] [pid 1646] [client 66.214.96.110:
   30073] PHP Warning: require_once(/path/htdocs/wp-content/plugins/google-captcha/
   includes/forms.php): failed to open stream: No such file or directory in /path/
   htdocs/wp-content/plugins/google-captcha/google-captcha.php on line 30, referer:
   [https://www.site.com/wp-admin/](https://www.site.com/wp-admin/) [Tue Jul 16 
   13:45:05.294318 2019] [:error] [pid 1646] [client 66.214.96.110:30073] PHP Fatal
   error: require_once(): Failed opening required ‘/path/htdocs/wp-content/plugins/
   google-captcha/includes/forms.php’ (include_path=’.:/usr/share/php:/usr/share/
   pear’) in /path/htdocs/wp-content/plugins/google-captcha/google-captcha.php on
   line 30, referer: [https://www.site.com/wp-admin/](https://www.site.com/wp-admin/)
    -  This reply was modified 6 years, 10 months ago by [tduffysaf](https://wordpress.org/support/users/tduffysaf/).
 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-errors-167/#post-11754161)
 * Hi,
 * Thank you for contacting us!
 * We already know about this problem and will release a new version of the Google
   Captcha plugin within one month.
 * Please provide the access credentials to your WordPress admin dashboard (with
   Administrator’s permissions) and the FTP credentials (host, username, and password),
   in order to solve this issue immediately on your site.
 * Before giving the access, we recommend you to make a full backup of your site.
 * Since this data is confidential, maybe, it would be better if you create a private
   ticket on our support forum ([https://support.bestwebsoft.com/hc/en-us/requests/new](https://support.bestwebsoft.com/hc/en-us/requests/new)).
   Please include a link to this post, so that we could recall the case immediately.

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

The topic ‘php errors’ 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

 * [notice](https://wordpress.org/support/topic-tag/notice/)
 * [reCAPTCHA](https://wordpress.org/support/topic-tag/recaptcha/)
 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 2 replies
 * 3 participants
 * Last reply from: [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/php-errors-167/#post-11754161)
 * Status: resolved