#4808 closed defect (bug) (duplicate)
Fatal: Object could not be converted to string taxonomy.php:925
| Reported by: | apokalyptik | Owned by: | rboren |
|---|---|---|---|
| Priority: | highest omg bbq | Milestone: | |
| Component: | Administration | Version: | 2.3 |
| Severity: | critical | Keywords: | object string taxonomy convert 925 |
| Cc: | Focuses: |
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)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fix for possible int OR obj values here