1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot Reproduce 'undefined' is null or not an object on IE

Discussion in 'Resolved Bug Reports' started by Sadik B, Jun 26, 2011.

  1. Sadik B

    Sadik B Well-Known Member

    I have searched for this, and the only reference to this error on xf.com is in this offtopic thread

    http://xenforo.com/community/thread...or-comes-after-using-ie8-for-15-minutes.8334/

    Way to reproduce:

    1. Open XF in IE 8/7 and Click on Post New Thread. After TinyMCE editor loads, click on the Insert Image/Insert Video buttons.

    2. IE reports Javascript Error on Page as shown in screenshot below:

    error1.gif

    3. This is the error prompt,

    error2.gif

    4. And here's the error

    Code:
    Webpage error details
    
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
    Timestamp: Sun, 26 Jun 2011 06:52:46 UTC
     
    Message: 'undefined' is null or not an object
    Line: 724
    Char: 5
    Code: 0
    URI: http://xenforo.com/community/js/tinymce/themes/xenforo/editor_template.js?_v=170916bd
    
    
    To ensure that I was not picking the error due to loading a cached version of the javascript files, I cleaned my PC IE cache and then used CCleaner to ensure no cached traces are left. Opened IE again, and same error. Obviously I first encountered this error on my own site and then tested here at xf.com and same is coming.

    I did some research and a stray comma in the editor_template.js code *may* be the cause. This is annoying as inserting images/vids in IE is not possible.
     
  2. Brett Peters

    Brett Peters Well-Known Member

  3. Kier

    Kier XenForo Developer Staff Member

    Can anyone still reproduce this? I have not been able to do so in my tests today.
     
  4. ibnesayeed

    ibnesayeed Well-Known Member

    I cannot reproduce it in IE9. I don't have other versions of IE on my test machine right now.
     
  5. Kier

    Kier XenForo Developer Staff Member

    I've tried IE7 and 8 and can't get the error with either of those.
     
  6. Kier

    Kier XenForo Developer Staff Member

    I'm going to mark this as resolved / not a bug - if someone finds a way to reproduce the problem, post in this thread and report the post to get our attention.
     
  7. Wuebit

    Wuebit Well-Known Member

    I get this on IE 9 following what the OP said to do to reproduce the problem in Console

    Code:
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    SEC7113: CSS was ignored due to mime type mismatch
    ?_v=170916bd
    XenForo.init() 2ms. jQuery 1.4.4, 1.2.5
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    SCRIPT438: Object doesn't support property or method 'count'
    xenforo.js?_v=170916bd, line 2115 character 4
    
     
  8. Sadik B

    Sadik B Well-Known Member

    Thanks Vodkaholic. Can you reproduce this on IE7 / IE8? I just tried it again here and still the same error comes. So this is definitely appearing on my Laptop. I will try this tomorrow on my wife's Laptop and see if I ca reproduce this there too.
     
  9. Kier

    Kier XenForo Developer Staff Member

    That's to do with IE representing that its console supports count() but failing to do so - it's not related to this issue.
     
  10. Wuebit

    Wuebit Well-Known Member

    I only have IE9 don't use it much not sure where the error panel is tbh lol


    Worth a shot if it helped it helped if it didn't no loss :) but thanks for explaining them errors.
     

Share This Page