• I recently returned from vacation and found that I have started getting a warning message on my home page, where it uses in_category() to exclude non-front-page posts.

    Since I haven’t made any changes, I’ve asked Dreamhost if they’ve made any PHP or server configuration changes that might cause this to fail. Haven’t heard back yet.

    I see by searching here that this is a common error, but haven’t seen any definitive resolution. Any ideas?

    Warning: Invalid argument supplied for foreach() in /wp-includes/template-functions-category.php on line 395

Viewing 2 replies - 1 through 2 (of 2 total)
  • <meta name="generator" content="WordPress 1.5.2" /> <!-- leave this for stats please -->

    you REALLY need to upgrade.

    Thread Starter hjl

    (@hjl)

    I know, I know. I keep putting it off but this may force the issue. The initial 2.0.x releases didn’t work out for me and I rolled it back at the time. I may look at the 2.1.x bits and see how it goes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invalid argument supplied for foreach() or Dreamhost config change?’ is closed to new replies.