Title: Header errors
Last modified: August 20, 2016

---

# Header errors

 *  [tr3online](https://wordpress.org/support/users/tr3online/)
 * (@tr3online)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/header-errors-3/)
 * > Warning: sprintf() [function.sprintf]: Too few arguments in /Applications/MAMP/
   > htdocs/sites/P/PT Gaming/Local/wp-content/plugins/store-locator-le/WPCSL-generic/
   > classes/CSL-plugin.php on line 937
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /Applications/MAMP/htdocs/sites/P/PT Gaming/Local/wp-content/plugins/
   > store-locator-le/WPCSL-generic/classes/CSL-plugin.php:937) in /Applications/
   > MAMP/htdocs/sites/P/PT Gaming/Local/wp-includes/option.php on line 568
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /Applications/MAMP/htdocs/sites/P/PT Gaming/Local/wp-content/plugins/
   > store-locator-le/WPCSL-generic/classes/CSL-plugin.php:937) in /Applications/
   > MAMP/htdocs/sites/P/PT Gaming/Local/wp-includes/option.php on line 569
 * This can be changed by commenting out:
 *     ```
       $this->notifications->add_notice(
                               9,
                               sprintf(
                                   __('Let us know how awesome '.$this->name.' is! Go to
                                   <a href="'.$this->rate_url.'" target="_blank">the plugin page</a>.
                                   and rate the plugin.  </br> Turn off this message in
                                   <a href="'.admin_url().'/options-general.php?page='.$this->prefix.'-options#display_settings">Display Settings.</a>
                                   Is something not right? <a href="'.$this->forum_url.'" target="_blank">Let us know.</a>
                                   This message will self destruct in: '.$hours_remaining.'',WPCSL__slplus__VERSION)
                                   )
   
               			);
       ```
   
 * Starting at line 928 in `CSL-plugin.php`
 * This doesn’t affect functionality, but should be addressed.
 * [http://wordpress.org/extend/plugins/store-locator-le/](http://wordpress.org/extend/plugins/store-locator-le/)

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

 *  Plugin Author [Lance Cleveland](https://wordpress.org/support/users/charlestonsw/)
 * (@charlestonsw)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/header-errors-3/#post-3490100)
 * Thanks for the report, I’ll check that out and try to sneak it in last-minute
   for 3.9.
 *  [fort123](https://wordpress.org/support/users/fort123/)
 * (@fort123)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/header-errors-3/#post-3490173)
 * i had some header errors as well (last update) but somehow i have this message
   in wordpress for a lot of plugins, deactivate and reactivate solves the header
   allready send message.
 * Maybe it has to do something with the used caching plugin w3
 *  Plugin Author [Lance Cleveland](https://wordpress.org/support/users/charlestonsw/)
 * (@charlestonsw)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/header-errors-3/#post-3490176)
 * [@fort123](https://wordpress.org/support/users/fort123/) – if you see ANY “headers
   already sent” messages for any CSA plugin please post the full message here if
   it is showing you a file name and line number.
 * Often it is because you have a strict environment set with PHP or your webs server.
   I have mine “turned all the way up” but difference in PHP versions or web servers
   mean I will not always see the same errors and warnings you see. MOST of the 
   time it is a warning that is getting sent out to Apache instead of the error 
   log. Typical culprit is php.ini having “display_errors” turned ON.
 * It should be OFF on a production system and only ON with dev systems.
 * Why? Because even a simple warning that will not break the program, like “PHP
   may not support this feature in the future” messages will cause PHP + your web
   server to barf out “header already sent” messages all over the place.

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

The topic ‘Header errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/store-locator-le_dac7af.svg)
 * [Store Locator Plus®](https://wordpress.org/plugins/store-locator-le/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/store-locator-le/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/store-locator-le/)
 * [Active Topics](https://wordpress.org/support/plugin/store-locator-le/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/store-locator-le/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/store-locator-le/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Lance Cleveland](https://wordpress.org/support/users/charlestonsw/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/header-errors-3/#post-3490176)
 * Status: not resolved