Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 12 months ago

#6833 closed defect (bug) (fixed)

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

Reported by: silas's profile silas Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: dashboard runtime-created has-patch commit has-unit-tests
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 17 years ago.
A patch I used to fix this

Download all attachments as: .zip

Change History (9)

@silas
17 years ago

A patch I used to fix this

#1 @DD32
17 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..)

#2 @westi
17 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.

#3 @westi
17 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-open for 2.5.2

#4 @westi
17 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

#5 @ryan
17 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

#6 @westi
17 years ago

  • Milestone changed from 2.9 to 2.6

This ticket was mentioned in PR #6840 on WordPress/wordpress-develop by @ellatrix.


12 months ago
#7

  • Keywords has-unit-tests added

See also #6833

@dmsnell commented on PR #6840:


12 months ago
#8

Merged in #6833

Note: See TracTickets for help on using tickets.