Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13798 closed defect (bug) (invalid)

Fatal Error failure when uploading image to Multisite enabled instance

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

Description

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
14 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
14 years ago

  • Keywords reporter-feedback added

#3 @ryan
14 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.