Title: Error message
Last modified: August 21, 2016

---

# Error message

 *  Resolved [kernow99](https://wordpress.org/support/users/kernow99/)
 * (@kernow99)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-message-268/)
 * Hello,
 * Thank you for your plugin which does exactly what I need – mostly!
    I have a 
   private site with only the default Post category, General. I find that it is 
   necessary to check the Category box under Notification Service on the user profile
   page when subscribing or unsubscribing, otherwise the following error message
   is thrown up:-
 * Warning: implode() [function.implode]: Invalid arguments passed in /home/hevvacou/
   public_html/members-blog/wp-content/plugins/new-post-notification/npn_plugin.
   php on line 146
 * Warning: implode() [function.implode]: Invalid arguments passed in /home/hevvacou/
   public_html/members-blog/wp-content/plugins/new-post-notification/npn_plugin.
   php on line 149
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/hevvacou/public_html/members-blog/wp-content/plugins/new-post-notification/
   npn_plugin.php:146) in /home/hevvacou/public_html/members-blog/wp-includes/pluggable.
   php on line 899
 * I am concerned that this will faze some of my users!
 * Any advice would be appreciated, thanks.
 * [http://wordpress.org/plugins/new-post-notification/](http://wordpress.org/plugins/new-post-notification/)

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

 *  Plugin Author [kilozwo](https://wordpress.org/support/users/kilozwo/)
 * (@kilozwo)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354534)
 * Hi kernow99,
 * thanks for reporting the bug. It should be fixed with version 1.0.4 with I published
   just seconds ago.
 * Kind regards…
 *  Thread Starter [kernow99](https://wordpress.org/support/users/kernow99/)
 * (@kernow99)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354535)
 * Hi Kilozwo,
 * Thanks for your response. The problem has been partly fixed, but the following
   message is still thrown up if the Category box is unchecked when the Update button
   is clicked.
 * Warning: implode(): Invalid arguments passed in /home/hevvacou/public_html/members-
   blog/wp-content/plugins/new-post-notification/npn_plugin.php on line 148
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/[xxxxxxxx]/public_html/members-blog/wp-content/plugins/new-post-notification/
   npn_plugin.php:148) in /home/hevvacou/public_html/members-blog/wp-includes/pluggable.
   php on line 899
 * I wonder if this is because I only have the single default category, General?
 * Thanks for your time, and for a very useful plugin!
 *  [kjprice](https://wordpress.org/support/users/kjprice/)
 * (@kjprice)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354541)
 * This should fix it. I’m not sure if it is “WordPressy” enough though.
 *  if(isset($_POST[‘npn_mailnotify_category’])){
    update_usermeta( $user_id, ‘npn_mailnotify_category’,
   implode(‘,’,$_POST[‘npn_mailnotify_category’])); }
 *  [argent41](https://wordpress.org/support/users/argent41/)
 * (@argent41)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354545)
 * Hi Kilozwo,
    Great plugin worthy of my donation, but, I find that version 1.04
   did not completely fix the issue. When editing a user profile I still get the
   following errors and my private site customers are concerned that this presents
   a security risk.
 * Warning: implode() [function.implode]: Invalid arguments passed in /home/theterraces/
   www/www/wp-content/plugins/new-post-notification/npn_plugin.php on line 148
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/theterraces/www/www/wp-content/plugins/new-post-notification/npn_plugin.
   php:148) in /home/theterraces/www/www/wp-includes/pluggable.php on line 899
 *  [argent41](https://wordpress.org/support/users/argent41/)
 * (@argent41)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354549)
 * Very disappointing that after you took my donation, you can’t be bothered to 
   reply to my support request or fix your plugin.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354550)
 * **argent41** If you need assistance please start your own topic instead. This
   isn’t your topic.
 * [http://wordpress.org/support/plugin/new-post-notification#postform](http://wordpress.org/support/plugin/new-post-notification#postform)
 *  Thread Starter [kernow99](https://wordpress.org/support/users/kernow99/)
 * (@kernow99)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354552)
 * Hi kjprice,
    Have tried inserting your code at various points in the plugin php
   file, but without success. However, thanks for the response!
 *  Plugin Author [kilozwo](https://wordpress.org/support/users/kilozwo/)
 * (@kilozwo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354553)
 * Just updated to v 1.0.5. I also included kjprice’s Code. Thanks for that, I didn’t
   notice that WP will not send a $_POST array when no checkbox is activated.
 * I didn’t get your error messages at all. Even if I unchecked all checkboxes. 
   Could someone please report if this issue is now fixed or not?
 * Thanks.
 *  Thread Starter [kernow99](https://wordpress.org/support/users/kernow99/)
 * (@kernow99)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354554)
 * Don’t know what I was doing wrong with the code, but v 1.0 5 is working perfectly,
   thank you!
 *  Plugin Author [kilozwo](https://wordpress.org/support/users/kilozwo/)
 * (@kilozwo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354555)
 * You had to replace line 148. Thanks for reporting!

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

The topic ‘Error message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/new-post-notification.svg)
 * [New Post Notification](https://wordpress.org/plugins/new-post-notification/)
 * [Support Threads](https://wordpress.org/support/plugin/new-post-notification/)
 * [Active Topics](https://wordpress.org/support/plugin/new-post-notification/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-post-notification/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-post-notification/reviews/)

 * 10 replies
 * 5 participants
 * Last reply from: [kilozwo](https://wordpress.org/support/users/kilozwo/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/error-message-268/#post-4354555)
 * Status: resolved