Title: error after API code adding
Last modified: August 21, 2016

---

# error after API code adding

 *  Resolved [graphic2](https://wordpress.org/support/users/graphic2/)
 * (@graphic2)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-after-api-code-adding/)
 * Hi,
    when I save the settings with the API key I see this error:
 * _**Warning:** Invalid argument supplied for foreach() in /home/ddmadver/public\
   _html/wp-content/plugins/benchmark-email-lite/lib/class.settings.php on line 
   304_
 * **Warning:** Cannot modify header information – headers already sent by (output
   started at /home/ddmadver/public_html/wp-content/plugins/benchmark-email-lite/
   lib/class.settings.php:304) in /home/ddmadver/public_html/wp-includes/pluggable.
   php on line 876
 * I’ve an account with subscription for 5000 contacts, I hope to get reply soon.
 * [http://wordpress.org/plugins/benchmark-email-lite/](http://wordpress.org/plugins/benchmark-email-lite/)

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

 *  Plugin Author [Randy Sandberg](https://wordpress.org/support/users/randywsandberg/)
 * (@randywsandberg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-after-api-code-adding/#post-3970607)
 * Hi graphic2,
 * Thank you very much for the heads up. Is this issue reproducible? And, if so,
   does it happen every time you save your key or just sometimes? Moreover, what
   host are you using and is your server Windows or Unix powered?
 * Oh, and just because it’s always better to know stuff, what operating system/
   browser (both type and version) is your client machine using? Sean, the programmer,
   may have more questions for you — sorry in advance — but what you fill out here
   will be a good start.
 * This week is a SUPER busy week for both Sean and I. Thus we both apologize in
   advance if it seems like we’re slow to help out. Hang in there for now, and note
   the way to solving this issue as quickly as possible is giving us enough information
   to reproduce it. 🙂
 * Thanks!
 *  Plugin Author [Randy Sandberg](https://wordpress.org/support/users/randywsandberg/)
 * (@randywsandberg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-after-api-code-adding/#post-3970608)
 * LOL, graphic2, I completely forgot to ask what version of WordPress as well as
   Benchmark Email Lite are you using! I’m sure your answer will be WordPress 3.5.2
   and Benchmark Email Lite 2.4.3 but it’s info we need to know. Additionally, have
   you tried reproducing the issue you’re seeing with all your other plugins deactivated?
 *  Thread Starter [graphic2](https://wordpress.org/support/users/graphic2/)
 * (@graphic2)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-after-api-code-adding/#post-3970635)
 * **Amazing!
    Today the plugin does work!! Perfectly and completely..! _I think
   that the API key wasn’t immediatly active yesterday.  if you think that the problem
   isn’t for the API key, i reply to your question, we’re using: Hosting: Xlogic
   Unix powered
 * Browser: Chrome version 28.0.1500.71
    Wordpress: version 3.5.1 Benchmark Email
   Lite Version 2.4.3
 *  Plugin Author [Randy Sandberg](https://wordpress.org/support/users/randywsandberg/)
 * (@randywsandberg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-after-api-code-adding/#post-3970640)
 * Hi graphic2,
 * Ah yes, weirdness with the API key. Sean does a much better job explaining why
   it happens sometimes, seems to have something to do with the network connection
   between your server and Benchmark Email’s API server, but just know we’re looking
   into a way to get rid of these kinds of annoyances.
 * Thanks for all the info by the way. And please do keep in touch if you notice
   any other forms of weirdness. 🙂
 *  [Loralee_H](https://wordpress.org/support/users/loralee_h/)
 * (@loralee_h)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-after-api-code-adding/#post-3970722)
 * I have the same error code,and hopefully it will magically disappear tomorrow
   when I log in again. I’m looking forward to using this plugin. I’ve been a benchmark
   customer for 6 months and just today started looking for alternatives to make
   the sign up look a little more attractive 🙂

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

The topic ‘error after API code adding’ is closed to new replies.

 * ![](https://ps.w.org/benchmark-email-lite/assets/icon-256x256.png?rev=2863856)
 * [Benchmark Email Lite](https://wordpress.org/plugins/benchmark-email-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/benchmark-email-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/benchmark-email-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/benchmark-email-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/benchmark-email-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/benchmark-email-lite/reviews/)

## Tags

 * [api key error](https://wordpress.org/support/topic-tag/api-key-error/)

 * 5 replies
 * 3 participants
 * Last reply from: [Loralee_H](https://wordpress.org/support/users/loralee_h/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/error-after-api-code-adding/#post-3970722)
 * Status: resolved