Title: Fatal error Uncaught TypeError media.php:800
Last modified: April 24, 2025

---

# Fatal error Uncaught TypeError media.php:800

 *  Resolved [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/)
 * Hello,
 * I have the latest WP6.8, theme 4.9 and WC9.8.2. Today I received following errors
   report:
 * Apr 23, 16:04:19
 * Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:800
 * Stack Trace
    1. 
       image_get_intermediate_size(309, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:241
    2. 
       image_downsize(309, Array)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       media.php:975
    3. 
       wp_get_attachment_image_src(309, Array, false)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:1067
    4. 
       wp_get_attachment_image(309, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-content/themes/twentyeleven/image.php:105
    5. 
       include(‘/home/chopstick…’)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       template-loader.php:106
    6. 
       require_once(‘/home/chopstick…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       wp-blog-header.php:19
    7. 
       require(‘/home/hided…’)/home/SorryHidedmysite/SorryHidedmysite.com/index.php:
       17
    8. 
       {main}thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.
       php on line 800
 * Hope developer can help to fix it. Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [1 year ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18446071)
 * I have WP6.8.1, theme 4.9 and WC9.8.3. The problem persists:
 * May 01, 20:40:54
 * Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:800
 * Stack Trace
    1. 
       image_get_intermediate_size(455, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:241
    2. 
       image_downsize(455, Array)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       media.php:975
    3. 
       wp_get_attachment_image_src(455, Array, false)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:1067
    4. 
       wp_get_attachment_image(455, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-content/themes/twentyeleven/image.php:105
    5. 
       include(‘/home/hided…’)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       template-loader.php:106
    6. 
       require_once(‘/home/hided…’)/home/SorryHidedmysite/SorryHidedmysite.com/wp-
       blog-header.php:19
    7. 
       require(‘/home/hided…’)/home/SorryHidedmysite/SorryHidedmysite.com/index.php:
       17
    8. 
       {main}thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.
       php on line 800
 * This is the only error log created on my site.
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [1 year ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18458631)
 * May 08, 16:33:26
 * Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:800
 * Stack Trace
    1. 
       image_get_intermediate_size(325, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:241
    2. 
       image_downsize(325, Array)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       media.php:975
    3. 
       wp_get_attachment_image_src(325, Array, false)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:1067
    4. 
       wp_get_attachment_image(325, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-content/themes/twentyeleven/image.php:105
    5. 
       include(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       wp-includes/template-loader.php:106
    6. 
       require_once(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-blog-header.php:19
    7. 
       require(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       index.php:17
    8. 
       {main}thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.
       php on line 800
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [1 year ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18482347)
 * I’m running WP6.8.1, WC9.8.5 and the theme 4.9.
 * Good news is that, there is no any error report since 10 days ago. I will keep
   watching and update here.
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [1 year ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18488513)
 * Today, the error coming again:
 * May 28, 19:58:58
 * Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:800
 * Stack Trace
    1. 
       image_get_intermediate_size(455, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:241
    2. 
       image_downsize(455, Array)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       media.php:975
    3. 
       wp_get_attachment_image_src(455, Array, false)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:1067
    4. 
       wp_get_attachment_image(455, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-content/themes/twentyeleven/image.php:105
    5. 
       include(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       wp-includes/template-loader.php:106
    6. 
       require_once(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-blog-header.php:19
    7. 
       require(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       index.php:17
    8. 
       {main}thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.
       php on line 800
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [12 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18492489)
 * I’m running with WP6.8.1 and theme v4.9. I disabled all plugins but **Health 
   Check & Troubleshooting**. Still get the fatal errors:
 * May 31, 16:38:47
 * Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:800
 * Stack Trace
    1. 
       image_get_intermediate_size(309, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:241
    2. 
       image_downsize(309, Array)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       media.php:975
    3. 
       wp_get_attachment_image_src(309, Array, false)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:1067
    4. 
       wp_get_attachment_image(309, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-content/themes/twentyeleven/image.php:105
    5. 
       include(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       wp-includes/template-loader.php:106
    6. 
       require_once(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-blog-header.php:19
    7. 
       require(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       index.php:17
    8. 
       {main}thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.
       php on line 800
 * Really need the developer to fix it.
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18567924)
 * I have the latest WP and WC and Theme. Receiving the same fatal error every day:
 * Jul 23, 01:37:01
 * Fatal error: Uncaught TypeError: Cannot access offset of type string on string
   in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.php:800
 * Stack Trace
    1. 
       image_get_intermediate_size(325, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:241
    2. 
       image_downsize(325, Array)/home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/
       media.php:975
    3. 
       wp_get_attachment_image_src(325, Array, false)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-includes/media.php:1067
    4. 
       wp_get_attachment_image(325, Array)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-content/themes/twentyeleven/image.php:105
    5. 
       include(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       wp-includes/template-loader.php:106
    6. 
       require_once(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.
       com/wp-blog-header.php:19
    7. 
       require(‘/home/SorryHidedmysite…’)/home/SorryHidedmysite/SorryHidedmysite.com/
       index.php:17
    8. 
       {main}thrown in /home/SorryHidedmysite/SorryHidedmysite.com/wp-includes/media.
       php on line 800
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [9 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18623127)
 * Accidently found that, disabled **MailPoet** plugin the error disappeared. This
   is the third day no more errors occur. Let’s test more days.
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [8 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18659072)
 * Deleted the related images and seems solved the problem. No more error appeared.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Fatal error Uncaught TypeError media.php:800’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentyeleven/5.1/screenshot.png)
 * Twenty Eleven
 * [Support Threads](https://wordpress.org/support/theme/twentyeleven/)
 * [Active Topics](https://wordpress.org/support/theme/twentyeleven/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentyeleven/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentyeleven/reviews/)

 * 8 replies
 * 1 participant
 * Last reply from: [cfm168](https://wordpress.org/support/users/cfm168/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-typeerror-media-php800/#post-18659072)
 * Status: resolved