Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#152 closed enhancement (fixed)

Bug in wp-include/functions.php

Reported by: lstelie Owned by: ryan
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


Current index.php returns :

Warning: Invalid argument supplied for foreach() in /MY_INSTALL_DIR/wp-includes/functions.php on line 1740

This line is :

foreach ($dogs as $catt) {

$category_cache[$catt->ID][] = $catt;


Change History (4)

#2 @matt
11 years ago

Do you not have any categories?

#3 @lstelie
11 years ago

Yes Matt I test CVS version in a copy of my regular weblog :

The database is the same except that :

  • the test is some days behind the regular one
  • the databse structure has been updated in the test weblog

This occurs only in index.php page, everything goes well as soon as I click on a category

modifié le : 07-08-04 06:16

#4 @ryan
11 years ago

  • fixed_in_version set to 1.3
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.