Title: Custom Post type warning
Last modified: August 19, 2016

---

# Custom Post type warning

 *  Resolved [Ahmed Hamouda](https://wordpress.org/support/users/ahmedhamouda/)
 * (@ahmedhamouda)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-warning/)
 * Am making a new custom post for my website according to this tutorial
    [http://codex.wordpress.org/Function_Reference/register_post_type](http://codex.wordpress.org/Function_Reference/register_post_type)
   But I keep seeing an error message beside the words count `Warning: Cannot modify
   header information - headers already sent by (output started at C:\xampplite\
   htdocs\enwp\wp-content\themes\pcm\functions.php:39) in C:\xampplite\htdocs\enwp\
   wp-includes\classes.php on line 1601`
 * [Image preview

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-warning/#post-1573122)
 * [Solving “headers already sent” warnings](http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F)
 *  Thread Starter [Ahmed Hamouda](https://wordpress.org/support/users/ahmedhamouda/)
 * (@ahmedhamouda)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-warning/#post-1573195)
 * ya I was just going to send the solution..
    You will have to check that function.
   php has no spaces at all

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

The topic ‘Custom Post type warning’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [message](https://wordpress.org/support/topic-tag/message/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ahmed Hamouda](https://wordpress.org/support/users/ahmedhamouda/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-warning/#post-1573195)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
