Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 2 years ago

#6833 closed defect (bug) (fixed)

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

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

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 19 years ago.
A patch I used to fix this

Download all attachments as: .zip

Change History (9)

#1 @DD32
19 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
18 years ago

  • Resolution → fixed
  • Status new → closed

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

#3 @westi
18 years ago

  • Resolution fixed
  • Status closed → reopened

Re-open for 2.5.2

#4 @westi
18 years ago

  • Resolution → fixed
  • Status reopened → closed

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

#5 @ryan
18 years ago

  • Milestone 2.5.2 → 2.9

Milestone 2.5.2 deleted

#6 @westi
18 years ago

  • Milestone 2.9 → 2.6

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


2 years ago
#7

  • Keywords has-unit-tests added

See also #6833

​@dmsnell commented on ​PR #6840:


2 years ago
#8

Merged in #6833

Note: See TracTickets for help on using tickets.