Title: Errors
Last modified: August 18, 2016

---

# Errors

 *  digitlalgrape
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-1-3/)
 * Hello,
    I am running wordpress version 1.2.2 and I appear to have 2 error messages,
   but I think they are both related to categories. I have read some other threads
   on the matter but they didn’t really help. I moved my blog from server A to server
   B with phpmyadmin, but a few problems have occured. a) Warning: Invalid argument
   supplied for foreach() in /home/username/public_html/blog/wp-includes/template-
   functions-category.php on line 65 b) Warning: Invalid argument supplied for foreach()
   in /home/username/public_html/blog/wp-blog-header.php on line 478 In other posts
   it suggests that if you don’t have any posts in a category then this might occur
   however I do. Any help would be greatly appreciated.

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-1-3/#post-120201)
 * URL please…
 *  [MichaelE](https://wordpress.org/support/users/michaele/)
 * (@michaele)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-1-3/#post-120298)
 * Ditto. I just noticed it this am. I’ve renamed the index file and you can see
   what it’d doing at:
    [http://g33kv2.efamilynj.org](http://g33kv2.efamilynj.org)
   The error I am getting from the php log is: [21-Dec-2004 09:47:58] PHP Warning:
   Invalid argument supplied for foreach() in /geekblogv2/wp-includes/functions.
   php on lin e 1121 I noticed it this morning and then I started to poke around
   a bit and I’m still trying to figure out what broke.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-1-3/#post-120299)
 * The above url gives a 403 – Forbidden
 *  [MichaelE](https://wordpress.org/support/users/michaele/)
 * (@michaele)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/errors-1-3/#post-120316)
 * I just took it offline until I can sort out the error. My php error log was growing
   very quickly because it seems like even tagging the rss feed was triggering the
   same error.
    I did find some semi-relevant links regarding the recent php 4.3.10
   upgrades and the zend optimizer. I found this thread on here and I am tracking
   it down based on info: [http://wordpress.org/support/3/18831#post-108086](http://wordpress.org/support/3/18831#post-108086)
   I did do an upgrade of php on the 18th and it’s very possible that there hasn’t
   been an apachectl restart since then…. At any rate the blog is not the only affect
   item. My wiki is offline now too as is my gallery server. <sigh> now I just have
   to google the living daylights out of this to find a fix… Will advise as I learn
   more.

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

The topic ‘Errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [MichaelE](https://wordpress.org/support/users/michaele/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/errors-1-3/#post-120316)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
