Title: Plugin I created getting error
Last modified: August 18, 2016

---

# Plugin I created getting error

 *  [uncommonjoe](https://wordpress.org/support/users/uncommonjoe/)
 * (@uncommonjoe)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/plugin-i-created-getting-error/)
 * Hey, I created a [dumb] plugin and it works fine in my WordPress (2.1.3). I uploaded
   it to another WordPress blog of mine and it didn’t work. I get this error when
   I try to activate it:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/.central/username/domain.com/wp-content/plugins/random-banner-
   > rotator.php:1) in /home/.central/username/domain.com/wp-includes/pluggable.
   > php on line 275
 * You can [download it here](http://joe.ajwstudios.com/plugins/random-banner-rotator/).
 * A few friends who have various versions of WP also tried it and all got the same
   error. What’s the problem? It works fine on mine.
 * Thanks!

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/plugin-i-created-getting-error/#post-633276)
 * Open the plugin in wordpad.
 * What do you see BEFORE the opening `<?php` ????
 * spaces.
 * remove them.
 *  Thread Starter [uncommonjoe](https://wordpress.org/support/users/uncommonjoe/)
 * (@uncommonjoe)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/plugin-i-created-getting-error/#post-633305)
 * Wow crazy! That was the problem! Thanks!

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

The topic ‘Plugin I created getting error’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [uncommonjoe](https://wordpress.org/support/users/uncommonjoe/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/plugin-i-created-getting-error/#post-633305)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
