Opened 15 months ago

Closed 15 months ago

Last modified 15 months 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 Owned by: nacin
Priority: normal Milestone: 3.4
Component: General Version: 3.4
Severity: normal Keywords:
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)

Problem appears when executing line :

do_action( 'admin_init' );

in wp-admin/admin-ajax.php

  • 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
  • Description modified (diff)
  • 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
  • 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.

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