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

Fixed Undefined index: isIgnored - when viewing forum

Discussion in 'Resolved Bug Reports' started by skhms, Oct 18, 2011.

  1. skhms

    skhms Active Member

    Think this is new for 1.1 beta 3.
    Happens when you got a thread started by a guest.
    Seems to be the prepareThread function in XenForo_Model_Thread. The isIgnored flag isn't set when the $thread['user_group_id'] value is uninitialized. Which happens when a guest has started the thread.

    Marcus likes this.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Confirmed. The error happens on forum_view when the thread listing contains a guest thread. The viewer must be logged in.
    Marcus likes this.
  3. Brett Peters

    Brett Peters Well-Known Member

    Just upgraded to 1.1b 3 and I am getting the same error also

    I patiently await a fix
  4. Mike

    Mike XenForo Developer Staff Member

    prepareUser is now always called, even for guest messages. Any modifications to this function must be able to survive potentially being given an incomplete (heavily null) user record.
    Marcus likes this.
  5. JulianD

    JulianD Well-Known Member

    Mike, the fix for this bug is too big to post here? I would really appreciate it.
    Brett Peters and Marcus like this.
  6. DRE

    DRE Well-Known Member

    Thanks for the fix!
  7. Brett Peters

    Brett Peters Well-Known Member

    Woot Woot, Fixed with 1.1B4
    JulianD likes this.

Share This Page