Bug Fatal error: Call to a member function get_field() on a non-object in /home/sites/for

Discussion in 'Support & Feedback' started by Karen May Jones, Apr 2, 2010.

  1. #1
    Fatal error: Call to a member function get_field() on a non-object in /home/sites/forums.digitalpoint.com/web/vb/legacy/post.php on line 606


    I'm getting that when I click to see users posts when I'm viewing a PM from the user.
     
    Karen May Jones, Apr 2, 2010 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Hmmmm... can you PM me the particular user you were getting it with? It seems to work fine when I try it.
     
    digitalpoint, Apr 2, 2010 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    I was able to trace it an orphaned post in the post table (a post "belonging" to a thread that no longer exists). I've purged the post table of all orphaned posts, so it should work properly now.

    For the long-term, I filed a bug report with vBulletin where they should actually be checking for that when trying to process search results instead of assuming it exists.

    http://www.vbulletin.com/forum/project.php?issueid=37208
     
    digitalpoint, Apr 2, 2010 IP
  4. Karen May Jones

    Karen May Jones Prominent Member

    Messages:
    3,469
    Likes Received:
    290
    Best Answers:
    1
    Trophy Points:
    380
    #4
    Great, just to confirm [let everyone know], this has corrected the problem for me. Thanks, and good luck with your bug report :)
     
    Karen May Jones, Apr 8, 2010 IP