Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Problem with User Filters extention

rockwaldorockwaldo New
edited July 2006 in Vanilla 1.0 Help
I get this error when trying to view anyone's account screen:

Fatal error: Call to a member function on a non-object in d:\domains\stillwater-rock.com\wwwroot\forum\extensions\UserFilters\default.php on line 24



the line in question is: "$AccountUser = $UserManager->GetUserById($AccountUserID);"

Comments

  • Yeah, there's actually another thread about trying to troubleshoot this problem here.

    I thought adding lines 23-25 was going to do it, but obviously not. The reason I'm only gessing is I've been unable to replicate that only problem on my own install.

    I'll have look in to it this evening after I get back from work...
  • Try replacing line 24 by: $UserManager = $Context->ObjectFactory->NewContextObject($Context, 'UserManager'); $AccountUser = $UserManager->GetUserById($AccountUserID);
  • Yep it works for me now :)

    good going Dinoboff
  • Sweet, thanks Dinoboff. I'll have to upload a modified version when I get home tonight (no unapproved ftp allowed at the office).
  • I've uploaded version 1.0.1, which incorporates Dinoboff's fix above:

    http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=107
  • edited July 2006
    I downloaded what I thought was version 1.0.1, but it was still 0.9. Can you please fix this? I just made Mav's suggestion and it fixed the problem.
  • He just forgot to the version number in the comment but he made these changes. But there is on other problem, check user filters addon produces error
  • Well, when I took that version and put it on my forum, I still got the error. Then I added the fix from Mav and it worked. Go figure.
  • edited July 2006
    Houseinprogress still have to integrate mav fix
  • OK, the modified version is up
This discussion has been closed.