Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#4808 closed defect (bug) (duplicate)

Fatal: Object could not be converted to string taxonomy.php:925

Reported by: apokalyptik Owned by: rboren
Milestone: Priority: highest omg bbq
Severity: critical Version: 2.3
Component: Administration Keywords: object string taxonomy convert 925
Focuses: Cc:


The problem occurs when $parent is an object and not an integer as expected. The patch I'm including handles both possible cases as I'm not entirely sure if $parent should *always* be an integer, *always* be an object, or whether both types are acceptable here (I'm not familiar enough with the taxonomy code.) The first 2 possibilities warrant more elegant fixes than this.

Attachments (1)

4808.diff (1.1 KB) - added by apokalyptik 13 years ago.
Fix for possible int OR obj values here

Download all attachments as: .zip

Change History (4)

13 years ago

Fix for possible int OR obj values here

#2 @ryan
13 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

#3 @foolswisdom
13 years ago

  • Milestone 2.3 deleted
Note: See TracTickets for help on using tickets.