Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#13798 closed defect (bug) (invalid)

Fatal Error failure when uploading image to Multisite enabled instance

Reported by: pypo Owned by:
Milestone: Priority: high
Severity: major Version: 3.0
Component: Media Keywords: reporter-feedback
Focuses: Cc:


When trying to upload an image, the following error is thrown:

[quote]Fatal error: Call to undefined function get_post_thumbnail_id() in /home/mysite/public_html/wp-admin/includes/media.php on line 1292quote

Using: Version 3.0-RC2-15136 (also failure in subsequent BE releases)

Multisite enabled.

Change History (3)

#1 @ryan
8 years ago

What theme are you using. It sounds like the theme is calling add_theme_support('post-thumbnails') on the init action instead of either immediately upon loading functions.php or on the after_setup_theme action.

#2 @ryan
8 years ago

  • Keywords reporter-feedback added

#3 @ryan
8 years ago

  • Milestone 3.0 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Closing since this seems to be a theme problem. Re-open if the problem persists after verifying that the theme is calling add_theme_support() correctly.

Note: See TracTickets for help on using tickets.