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 | 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)
Note: See
TracTickets for help on using
tickets.
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.