Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#20240 closed defect (bug) (fixed)

Fatal error: Call to a member function get_data() on a non-object in ...\wp-includes\media.php on line 1480

Reported by: arena's profile arena Owned by: nacin's profile nacin
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.4
Component: General Keywords:
Focuses: Cc:

Description (last modified by scribu)

since r20186 (today)

bug :

`
Fatal error: Call to a member function get_data() on a non-object in D:\webserver\Documents\wordpress\wp-includes\media.php on line 1480
`

in DashPress plugin

Change History (6)

#1 @arena
13 years ago

Problem appears when executing line :

do_action( 'admin_init' );

in wp-admin/admin-ajax.php

#2 @arena
13 years ago

  • Summary changed from since rev #20186 bug : Fatal error: Call to a member function get_data() on a non-object in D:\webserver\Documents\wordpress\wp-includes\media.php on line 1480 to since rev #20186 bug : Fatal error: Call to a member function get_data() on a non-object in ...\wp-includes\media.php on line 1480

#3 @scribu
13 years ago

  • Description modified (diff)

#4 @scribu
13 years ago

  • Summary changed from since rev #20186 bug : Fatal error: Call to a member function get_data() on a non-object in ...\wp-includes\media.php on line 1480 to Fatal error: Call to a member function get_data() on a non-object in ...\wp-includes\media.php on line 1480

#5 @nacin
13 years ago

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

In [20189]:

Move wp_plupload_default_settings() to the admin_enqueue_scripts hook to prevent fatal errors when admin_init is run outside of normal admin-header execution, like admin-ajax. see #19910. fixes #20240.

#6 @ocean90
13 years ago

  • Milestone changed from Awaiting Review to 3.4
Note: See TracTickets for help on using tickets.