Ticket #6833 (closed defect: fixed)

Opened 7 months ago

Last modified 4 months ago

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

Reported by: silas Assigned to: anonymous
Priority: normal Milestone: 2.6
Component: Administration Version: 2.5
Severity: normal Keywords: dashboard, runtime-created, has-patch, commit
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

2008-04-24-wp-admin-index-php.patch (0.7 kB) - added by silas on 04/24/08 17:17:41.
A patch I used to fix this

Change History

04/24/08 17:17:41 changed by silas

  • attachment 2008-04-24-wp-admin-index-php.patch added.

A patch I used to fix this

04/25/08 02:54:33 changed by DD32

  • keywords changed from dashboard, runtime-created to dashboard, runtime-created, has-patch, commit.

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..)

06/20/08 17:08:32 changed by westi

  • status changed from new to closed.
  • resolution set to fixed.

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

06/20/08 17:09:56 changed by westi

  • status changed from closed to reopened.
  • resolution deleted.

Re-open for 2.5.2

06/20/08 17:10:53 changed by westi

  • status changed from reopened to closed.
  • resolution set to fixed.

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

07/15/08 16:24:07 changed by ryan

  • milestone changed from 2.5.2 to 2.9.

Milestone 2.5.2 deleted

07/30/08 20:32:32 changed by westi

  • milestone changed from 2.9 to 2.6.