Title: Need Help with Plugin Code
Last modified: August 18, 2016

---

# Need Help with Plugin Code

 *  Resolved [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/)
 * I’m having some weird issues with a new plugin I am writing. I’m a ruby on rails
   developer and am writing this WP plugin for a friend. Not using anything special
   PHP-wise as far I can I tell but its causing some problems. If anyone can take
   a look at it with me and see if they can find my “bug”, I’d appreciate it.
 * here are the issues:
 * 1) When the plugin is enabled, the RSS/Atom feeds on my site are malformed (they
   have a blank line at the top of the file and the XML declaration is on the 2nd
   line)
 * 2) On my installation of 2.1.3 I don’t see this error but on my friends installation
   of 2.2 he gets this error when trying to login/logout if the plugin is enabled.(
   This seems to happen always if the new HP Blog Printing plugin is activated).
 * Warning: Cannot modify header information – headers already sent by (output
    
   started at /home/zarnold/public_html/thebackdrop/wp-content/plugins/feedcache/
   feedcache.php:148) in /home/zarnold/public_html/thebackdrop/wp-admin/theme-editor.
   php on line 55
 * Warning: Cannot modify header information – headers already sent by (output
    
   started at /home/zarnold/public_html/thebackdrop/wp-content/plugins/feedcache/
   feedcache.php:148) in /home/zarnold/public_html/thebackdrop/wp-login.php on line
   12
 * anyhelp would be appreciated. you can AIM me at: cpjolicoeur or email me at cpjolicoeur[
   at]gmail[dot]com

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

 *  [Andrew Ozz](https://wordpress.org/support/users/azaozz/)
 * (@azaozz)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/#post-619213)
 * Make sure there’s no blank lines before the first `<?php` or after the last `?
   >` tags.
 *  Thread Starter [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/#post-619214)
 * thx, I’ll try that
 *  Thread Starter [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/#post-619215)
 * also, any time I try to save the file via the WP plugin editor interface I get
   this error
 * Service Temporarily Unavailable
 * The server is temporarily unable to service your request due to maintenance downtime
   or capacity problems. Please try again later.
 *  Thread Starter [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/#post-619266)
 * that seems to have fixed it.
 * what is the issue with having blank lines after the final closing PHP ?> tag??
 *  [Roland Rust](https://wordpress.org/support/users/wpdprx/)
 * (@wpdprx)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/#post-619272)
 * Dig into this forum:
    e.g.: [http://wordpress.org/support/topic/111833?replies=19](http://wordpress.org/support/topic/111833?replies=19)
 *  Thread Starter [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/#post-619281)
 * thx

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

The topic ‘Need Help with Plugin Code’ is closed to new replies.

## Tags

 * [rss feed plugin](https://wordpress.org/support/topic-tag/rss-feed-plugin/)

 * 6 replies
 * 3 participants
 * Last reply from: [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/need-help-with-plugin-code/#post-619281)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
