Title: warning in error_log while using debug mode
Last modified: February 22, 2018

---

# warning in error_log while using debug mode

 *  Resolved [khaleds](https://wordpress.org/support/users/khaleds/)
 * (@khaleds)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/warning-in-error_log-while-using-debug-mode/)
 * PHP Warning: in_array() expects parameter 2 to be array, null given in /home/……/
   public_html/wp-content/plugins/google-captcha/google-captcha.php on line 682
   
   PHP Warning: in_array() expects parameter 2 to be array, null given in /home/…../
   public_html/wp-content/plugins/google-captcha/google-captcha.php on line 683
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-in-error_log-while-using-debug-mode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * (@bestwebsoft)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/warning-in-error_log-while-using-debug-mode/#post-10019829)
 * Hi,
 * Thank you for contacting us!
 * Unfortunately, we cannot reproduce this problem on our local environment. 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 detect the reason and find the solution.
 * During making tests we’ll probably deactivate some of your plugins or switch 
   the theme. That’s why 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 1 replies (of 1 total)

The topic ‘warning in error_log while using debug mode’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [bestwebsoft](https://wordpress.org/support/users/bestwebsoft/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/warning-in-error_log-while-using-debug-mode/#post-10019829)
 * Status: resolved