Title: Installation Problem
Last modified: October 12, 2020

---

# Installation Problem

 *  Resolved [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/)
 * Hi, when I try to install and activate the plugin using the standard “Add New”
   plugin method, I get the following notice:
 * > The plugin generated 226 characters of unexpected output during activation.
   > If you notice “headers already sent” messages, problems with syndication feeds
   > or other issues, try deactivating or removing this plugin.
 * Once I then try to add a set of keys, I get fatal errors like those described
   in the activation notice.
 * I’ve tried twice (deleting the plugin after the first try, and trying again) 
   and get the same result both times.
 * Any idea what’s wrong, or how I should proceed? I use this excellent plugin on
   many sites and want to install it on this new site but can’t.
    -  This topic was modified 5 years, 8 months ago by [hommealone](https://wordpress.org/support/users/hommealone/).

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

 *  [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13524715)
 * What is your php version?
    Can you please see your server error log if there 
   any error about this? Also a new version is released couple of minutes ago, So
   there might be caching issue with wordpress, Can you try one more time?
 * I have tried in multiple websites after this release and everything seems working
   good.
 * Let me know.
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13524777)
 * Thanks for your quick reply! I just tried again and got the same activation notice.
 * We are running PHP Version 7.4
 * I’ll try to check the log and see if there is anything listed.
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13524857)
 * I Deleted the plugin again. Then I set:
 * `define( 'WP_DEBUG_LOG', true );`
 * Then I re-installed the plugin and re-activated. No entry in debug.log (in fact,
   no debug.log file generated yet; no errors.
 * When I visited the settings page after re-installation (and our keys were still
   there; I assume they are stored in the WP database) and re-saved the settings,
   I got a white screen with these error messages:
 *     ```
       Notice: Undefined index: type in /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php on line 425
   
       Notice: Undefined index: type in /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php on line 458
   
       Notice: Undefined index: type in /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php on line 425
   
       Notice: Undefined index: type in /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php on line 458
   
       Notice: Undefined index: type in /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php on line 425
   
       Notice: Undefined index: type in /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php on line 458
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php:425) in /home/ourserverusername/public_html/wp-includes/pluggable.php on line 1296
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php:425) in /home/ourserverusername/public_html/wp-includes/pluggable.php on line 1299
       ```
   
 *  [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13525311)
 * Thank you for the error log.
    i have made some changes. Can you download and 
   install from [https://github.com/shamim2883/advanced-nocaptcha-recaptcha](https://github.com/shamim2883/advanced-nocaptcha-recaptcha)
   and test? Let me know. If everything alright i will push update in wordpress 
   with this changes.
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13525446)
 * OK. Here’s what I did:
 * I again deleted the plugin.
 * I installed the version that I got from GitHub.
 * When I activated that version, I _still_ got this activation notice:
 * > The plugin generated 233 characters of unexpected output during activation.
   > If you notice “headers already sent” messages, problems with syndication feeds
   > or other issues, try deactivating or removing this plugin.
 * I went to the plugin’s settings page, and re-saved the settings.
 * This time when I went to the settings page of the plugin and re-saved the settings,
   _I got no error messages._
 * (And the plugin seems to be working; reCaptcha elements are in place.)
 * So, now it seems to be just the activation warning that’s a problem.
 *  [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13526303)
 * Thank you.
    Can you please see your server error log if there any error logged
   during activation? You can get help from your host to locate server error log
   if you do not know where that is.
 * Let me know.
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13529898)
 * Might be a plugin conflict with [WP Zero Spam](https://wordpress.org/plugins/zero-spam/)?
 * I uninstalled and re-installed from the WP repository.
 * Upon activation:
 * > The plugin generated 226 characters of unexpected output during activation.
   > If you notice “headers already sent” messages, problems with syndication feeds
   > or other issues, try deactivating or removing this plugin.
 * Server error log:
 *     ```
       [13-Oct-2020 18:54:58 UTC] PHP Warning:  Cannot modify header information - headers already sent in /home/ourserverusername/public_html/wp-content/plugins/zero-spam/classes/class-wpzerospam.php on line 938
       [13-Oct-2020 18:56:08 UTC] PHP Notice:  Trying to access array offset on value of type null in /home/ourserverusername/public_html/wp-content/plugins/advanced-nocaptcha-recaptcha/freemius/includes/class-freemius.php on line 7767
       ```
   
    -  This reply was modified 5 years, 8 months ago by [hommealone](https://wordpress.org/support/users/hommealone/).
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13529973)
 * When re-installed from the repository, I also got the fatal errors.
 * When I again deleted and re-installed Github version, got activation error but
   saving the plugin settings succeeded without fatal errors.
 * Additional log errors from these two additional delete-and-re-install attempts:
 * >  [13-Oct-2020 19:12:02 UTC] PHP Warning: Cannot modify header information –
   > headers already sent by (output started at /home/serverusername/public_html/
   > wp-content/plugins/advanced-nocaptcha-recaptcha/admin/settings.php:425) in /
   > home/serverusername/public_html/wp-includes/pluggable.php on line 1296
   >  [13-
   > Oct-2020 19:12:02 UTC] PHP Warning: Cannot modify header information – headers
   > already sent by (output started at /home/serverusername/public_html/wp-content/
   > plugins/advanced-nocaptcha-recaptcha/admin/settings.php:425) in /home/serverusername/
   > public_html/wp-includes/pluggable.php on line 1299
 * > [13-Oct-2020 19:13:40 UTC] PHP Notice: Trying to access array offset on value
   > of type null in /home/serverusername/public_html/wp-content/plugins/advanced-
   > nocaptcha-recaptcha-master/freemius/includes/class-freemius.php on line 7767
 *  [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13531515)
 * Thank you very much.
    This is not a conflict with that plugin but with PHP version
   7.4 We will fix it and push an update.
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13535512)
 * Great news, thank you. I appreciate how much work it takes to maintain your excellent
   plugin. Thank you for making it available. I hope I was able to be helpful in
   some small way.
 * Keep up the good work!
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13535754)
 * Oh! Just one other _very_ minor suggestion:
 * In my themes, I always add a bottom margin to the “I am not a robot”-type reCaptcha
   element so that it doesn’t bang up against the submit button. That works in comment
   forms and CF7, but not in login, forgot password and etc. Since you have some
   basic default styling of those screens for the reCaptcha element, I’d suggest
   that you add a small bottom margin there, so it doesn’t bump against the submit
   button on those screens. (rem units work well.)
 *  [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13545765)
 * I normally suggest to add `.anr_captcha_field_div {clear: both;}` (if require
   some margin) in additional CSS. As there is settings to remove this plugin’s 
   css. Also this plugin css does not load always, it just load in default wp login
   form.
 *  [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13548786)
 * [@hommealone](https://wordpress.org/support/users/hommealone/) i have pushed 
   a new version with this fix. Can you please check and let me know?
 *  Thread Starter [hommealone](https://wordpress.org/support/users/hommealone/)
 * (@hommealone)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13554641)
 * [@shamim51](https://wordpress.org/support/users/shamim51/)
    All good! I deleted
   the plugin, then re-installed from the WP repository:
 * No activation errors.
    No log file error. It is working as expected.
 * Thanks so much! Your attention to this issue is greatly appreciated and noted!

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

The topic ‘Installation Problem’ is closed to new replies.

 * ![](https://ps.w.org/advanced-nocaptcha-recaptcha/assets/icon-256x256.png?rev
   =2961544)
 * [CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress](https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [hommealone](https://wordpress.org/support/users/hommealone/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/installation-problem-157/#post-13554641)
 * Status: resolved