Title: No Categories error message
Last modified: August 18, 2016

---

# No Categories error message

 *  [BillVick](https://wordpress.org/support/users/billvick/)
 * (@billvick)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/no-categories-error-message/)
 * I get the following error message on my home page. What am I doing wrong and 
   how do I fix it?
    Categories: Warning: Invalid argument supplied for foreach()
   in /home/www/recruitinc/wordpress/wp-includes/template-functions-category.php
   on line 304 No categories Search:

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

 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/no-categories-error-message/#post-58801)
 * Hmm, I posted a message but it went to another thread. Will try again. I haven’t
   run across this before so I can’t help without a link to your site (but that 
   doesn’t mean someone else can’t 😉
 *  [Sushubh](https://wordpress.org/support/users/sushubh/)
 * (@sushubh)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/no-categories-error-message/#post-58802)
 * let me guess, u posted with w.bloggar without selecting a category?

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

The topic ‘No Categories error message’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 3 participants
 * Last reply from: [Sushubh](https://wordpress.org/support/users/sushubh/)
 * Last activity: [21 years, 11 months ago](https://wordpress.org/support/topic/no-categories-error-message/#post-58802)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
