Title: Error in Media-extractor.php
Last modified: August 21, 2016

---

# Error in Media-extractor.php

 *  Resolved [sk_tamilan](https://wordpress.org/support/users/sk_tamilan/)
 * (@sk_tamilan)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/)
 * I am getting the following error 16 times on my website. Wierdly enough its only
   happening on one page
 *     ```
       Notice: Undefined index: scheme in /home/codenath/public_html/wp-content/plugins/jetpack/class.media-extractor.php on line 380
   
       Notice: Undefined index: host in /home/codenath/public_html/wp-content/plugins/jetpack/class.media-extractor.php on line 380
       ```
   
 * [http://wordpress.org/plugins/jetpack/](http://wordpress.org/plugins/jetpack/)

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365315)
 * Could you try to reinstall Jetpack from scratch?
 * If that doesn’t help, could you point me to the page where you experience the
   issue?
    If you want it to remain private, you can also contact us via this contact
   form: [http://jetpack.me/contact-support/](http://jetpack.me/contact-support/)
 *  Thread Starter [sk_tamilan](https://wordpress.org/support/users/sk_tamilan/)
 * (@sk_tamilan)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365358)
 * Hi Jeremy,
 * I have tried already tried completely deleting the plugin and re-installing but
   no avail.
 * I have sent a request through the contact form.
 * Kind Regards
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365518)
 * Thanks! We’ll have a look, and I’ll post again here as soon as I have some news.
 *  Thread Starter [sk_tamilan](https://wordpress.org/support/users/sk_tamilan/)
 * (@sk_tamilan)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365522)
 * Hi Jeremy,
 * I have found the cause of the problem. Since i use this template a lot, I am 
   using **shorcodes **to define the path of my images relative to the **template
   url** and this is the cause of the problem.
 * `[template-url]/img/image.jpg`
 * the code in media-extractor is trying to process the images prior to wordpress
   processing the shortcode.
 * Fix: Replace with the absolute url of the image like :-
 * `http://example.com/wp-content/themes/example/img/image.jpg`
 * I was told by the support team this won’t most likely to get fixed.
 *  Thread Starter [sk_tamilan](https://wordpress.org/support/users/sk_tamilan/)
 * (@sk_tamilan)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365523)
 * topic closed
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [12 years, 6 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365529)
 * We’ve now updated Jetpack so it won’t display these notices. You can see the 
   changeset [here](https://plugins.trac.wordpress.org/changeset/813804/jetpack).
   The fix will be included in the next Jetpack release.
 * Thanks for reporting the issue!
 *  [PaulCutcliffe](https://wordpress.org/support/users/paulcutcliffe/)
 * (@paulcutcliffe)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365581)
 * I’ve now started getting these errors, and removing Jetpack and reinstalling 
   it hasn’t helped. I’m using Jetpack 2.7.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365582)
 * **[@paulcutcliffe](https://wordpress.org/support/users/paulcutcliffe/)**: If 
   you require assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.

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

The topic ‘Error in Media-extractor.php’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/error-in-media-extractorphp/#post-4365582)
 * Status: resolved