WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6833 closed defect (bug) (fixed)

Dashboard - Fatal error (wp-admin/index.php(101) : runtime-created function)

Reported by: silas Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: dashboard, runtime-created, has-patch, commit
Focuses: Cc:

Description

If array_reduce on line 101 in wp-admin/index.php returns NULL then the following fatal error is throw:

Fatal error: Unsupported operand types in ./wp-admin/index.php(101) : runtime-created function on line 1

Attachments (1)

2008-04-24-wp-admin-index-php.patch (678 bytes) - added by silas 6 years ago.
A patch I used to fix this

Download all attachments as: .zip

Change History (7)

silas6 years ago

A patch I used to fix this

comment:1 DD326 years ago

  • Keywords has-patch commit added

I believe theres another ticket for this too, But i cant locate it (Only the same fix mentioned online a month ago by someone who probably didnt submit the fix to WordPress..)

comment:2 westi6 years ago

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

(In [8141]) Fix a possible fatal error on the dashboard. Fixes #6833 for trunk.

comment:3 westi6 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-open for 2.5.2

comment:4 westi6 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [8142]) Fix a possible fatal error on the dashboard. Fixes #6833 for 2.5.x

comment:5 ryan6 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

comment:6 westi6 years ago

  • Milestone changed from 2.9 to 2.6
Note: See TracTickets for help on using tickets.