Title: Fatal PHP Error When Trying To Get API Key
Last modified: August 21, 2016

---

# Fatal PHP Error When Trying To Get API Key

 *  Resolved [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/)
 * I am unable to get an API key to use this plug-in, as I am getting the following
   PHP error:
 * PHP Fatal error: Cannot use object of type WP_Error as array in [URL removed]/
   wp-content/plugins/bruteprotect/admin/mybp-post_processing.php on line 40
 * [https://wordpress.org/plugins/bruteprotect/](https://wordpress.org/plugins/bruteprotect/)

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

 *  Plugin Contributor [Stephen Quirk](https://wordpress.org/support/users/sdquirk/)
 * (@sdquirk)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982522)
 * Hello, we had outages earlier today and all should be rectified. Sites are still
   protected during an outage by a math captcha, so no worries there. We’ve taken
   some measures that will give a better experience and apologize for the inconvenience.
   Do let us know if you’re still having issues.
 *  Thread Starter [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982526)
 * An outage is NOT going to create the above PHP error – that is a problem with
   your plug-in. Please fix it so I can use your service!
 *  [Paul Hugel](https://wordpress.org/support/users/paul-hugel/)
 * (@paul-hugel)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982601)
 * Fatal error: Cannot use object of type WP_Error as array in [URL removed]/wp-
   content/plugins/bruteprotect/admin/mybp-post_processing.php on line 40
 * can’t get api key its June 11, 2014
 *  [Paul Hugel](https://wordpress.org/support/users/paul-hugel/)
 * (@paul-hugel)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982602)
 * I was able to finally configure plugin after allowing certain ip addresses outgoing
   connections to several amazon AWS servers
 *  Thread Starter [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982603)
 * Can you explain in more detail what you did?
 *  [Paul Hugel](https://wordpress.org/support/users/paul-hugel/)
 * (@paul-hugel)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982604)
 * [@ljmac](https://wordpress.org/support/users/ljmac/) I went to my Hosting provider
   and under outgoing connection manager enabled a slew of ip addressed originating
   from outgoing connections from my wordpress site bound towards [http://aws.amazon.com/ec2/](http://aws.amazon.com/ec2/)
 *  Plugin Contributor [Rocco Tripaldi](https://wordpress.org/support/users/roccotripaldi/)
 * (@roccotripaldi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982625)
 * Thanks for bringing this to our attention. I’d not seen this error before, and
   I currently cannot replicate it. But the error message alone may allow me to 
   work on a fix.
 * We should have it resolved in the next point release.

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

The topic ‘Fatal PHP Error When Trying To Get API Key’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bruteprotect_372a22.svg)
 * [BruteProtect](https://wordpress.org/plugins/bruteprotect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bruteprotect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bruteprotect/)
 * [Active Topics](https://wordpress.org/support/plugin/bruteprotect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bruteprotect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bruteprotect/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Rocco Tripaldi](https://wordpress.org/support/users/roccotripaldi/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-php-error-when-trying-to-get-api-key/#post-4982625)
 * Status: resolved