Title: Debugger Error causing IE9 Issue
Last modified: August 24, 2016

---

# Debugger Error causing IE9 Issue

 *  [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/)
 * Hi there,
 * Thanks for an amazing plugin. Everything has worked perfectly up until now when
   I encountered an error that is affecting IE9 only. Here’s what happened:
 * – Using Be theme v6.5 with a child theme and your plugin. All working perfectly
   on IE9,10,11 FF, Chrome, Safari.
 * – I upgraded the Be theme parent and other plugins after the recent security 
   patch alert and when I tested the site I saw a layout bug in IE9 on the homepage
   and the PDF icons weren’t showing up on the docs pages.
 * The debugger in IE dev tools highlighted “index” as being undefined in mtli-str-
   replace-min.js?ver=3.1.0. When I deactivated MimeTypes Link Icons plugin the 
   layout bug went away.
 * I reactivated the plugin in the hopes that you will be able to reproduce this
   in the IE dev tools debugger and that there will be a simple fix.
 * I hope you can help. We are due to launch on Monday but we need the icons to 
   be working and the IE9 layout. I really hope we can use your plugin as it’s been
   great for our purposes.
 * Thank you so much.
 * GWD
 * [https://wordpress.org/plugins/mimetypes-link-icons/](https://wordpress.org/plugins/mimetypes-link-icons/)

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

 *  Thread Starter [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6060910)
 * I was able to copy the error from Firebug in case that helps: ReferenceError:
   index is not defined
    [http://gatehouse-design.com/bostonpartners/wp-content/plugins/mimetypes-link-icons/js/mtli-str-replace.min.js?ver=3.1.0](http://gatehouse-design.com/bostonpartners/wp-content/plugins/mimetypes-link-icons/js/mtli-str-replace.min.js?ver=3.1.0)
   Line 2
 *  Thread Starter [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6060914)
 * Another update: the IE9 layout bug was my fault. I had a div nested inside an
   anchor tag in the sidebar. That was causing the issue. As soon as I fixed that
   the homepage loaded correctly in IE9. Phew and sorry.
 * However, that js error is still there in the debugger and if a fix for that would
   get the file icons to show up in IE9 then I would be thrilled.
 * Sorry for the fire drill on the home page layout.
 * I hope you can help me get the icons working in IE9 though.
 * Thanks!
 * GWD
 *  Thread Starter [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6060981)
 * Another update: turning off async js in settings gets the icons back on my documents
   page in IE9.
 * However, the error on the homepage layout in IE9 persists when this plugin is
   activated. I tested again with the async settings updated and when the plugin
   is deactivated IE9 looks fine, when it’s activated it’s broken – but just that
   page.
 *  Plugin Contributor [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6061023)
 * As far as I can see – this has to do with the CSS of your theme.
 * I can see ‘style=”background-image: none;”‘ on the Press Release PDF link on 
   the homepage, which effectively cancels the showing of the MTLI icon.
 * Also for a reason that for me is completely unclear, the ‘mtli_attachment’ class
   has not been added to that same link, which effectively means that even if you
   remove the element style I mentioned above, you would end up with a repeating
   background image instead of the icon just once.
 * Considering you are using MTLI on the homepage only in a widget – you may want
   to read the FAQ section on _‘I want to have the mimetype icons for a content 
   area which is outside of the loop (a sidebar for instance). Can I?’_.
 *  Thread Starter [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6061035)
 * Thanks jrf,
 * The issue on the homepage isn’t to do with the icons – I don’t want icons in 
   the sidebar on the homepage. It’s a layout bug in IE9 that’s causing the sidebar
   to stretch the width of the page and various other bits of weirdness.
 * When the plugin is activated the bug shows in IE9. When it’s deactivated the 
   homepage displays perfectly in IE9.
 * Thanks for looking at it.
 *  Thread Starter [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6061037)
 * I’ve narrowed it down further to a conflict with Slider Revolution. If I deactivate
   that plugin and MTLI is activated the homepage loads fine in IE9 but without 
   the slider.
 * Will keep working on how to resolve this conflict. Any ideas, let me know. Thanks!
 *  Plugin Contributor [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6061038)
 * So what is the problem ? and does it have anything to do with MTLI at all ? If
   not, please mark this issue as resolved.
 * When I test in IE9, I do get a js error, but one which has nothing to do with
   MTLI:
 * SCRIPT5007: Unable to get value of the property ‘childNodes’: object is null 
   or undefined
    wp-emoji-release.min.js?ver=4.2, line 2 character 172
 * I also see that the layout is strange, but don’t see how that would have anything
   to do with MTLI.
 *  Thread Starter [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6061041)
 * The problem is a conflict with the slider revolution plugin on the homepage causing
   incorrect layout – in IE9 only.
 *  Thread Starter [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * (@gatehousedesign)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6061057)
 * I added this conditional (if is_front_page) to my child theme functions.php
 *     ```
       function remove_unwanted_scripts(){
       	if(is_front_page()){
       		wp_dequeue_script('mimetypes-link-icons');
       		wp_dequeue_style('mimetypes-link-icons');
       	}
       }
       add_action( 'wp_enqueue_scripts', 'remove_unwanted_scripts', 100 );
       ```
   
 * This just removes the MTLI script and styles from the homepage where the conflict
   with Slider Revolution was causing a layout bug in IE9.
 * All good for now. Would be a great backend feature to if users could exclude 
   certain pages from getting the script.
 * Thanks for your help jrf.

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

The topic ‘Debugger Error causing IE9 Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mimetypes-link-icons.svg)
 * [MimeTypes Link Icons](https://wordpress.org/plugins/mimetypes-link-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mimetypes-link-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mimetypes-link-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/mimetypes-link-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mimetypes-link-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mimetypes-link-icons/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [gatehousedesign](https://wordpress.org/support/users/gatehousedesign/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/debugger-error-causing-ie9-issue/#post-6061057)
 * Status: not resolved