Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4808 closed defect (bug) (duplicate)

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

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

Description

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 17 years ago.
Fix for possible int OR obj values here

Download all attachments as: .zip

Change History (4)

@apokalyptik
17 years ago

Fix for possible int OR obj values here

#2 @ryan
17 years ago

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

#3 @foolswisdom
17 years ago

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