Author Topic: Userlist PHP Error when not showing user type  (Read 12085 times)

dwoltjer

  • Newbie
  • *
  • Posts: 2
    • View Profile
Userlist PHP Error when not showing user type
« on: 29 July 2008, 19:54 »
Yo Emir,
I'd like to use your userlist component, but encountered a problem  ???:

When setting the config option "Show user type" to "No" i get the following PHP error on my joomla page:

Warning: Invalid argument supplied for foreach() in
(...) \components\com_userlist\userlist.html.php on line 74


Any idea what may be wrong?

I am running Joomla v1.5.2 & PHP 5.2.5

Would appreciate your comments, DJ
« Last Edit: 29 July 2008, 19:56 by dwoltjer »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Userlist PHP Error when not showing user type
« Reply #1 on: 30 July 2008, 21:32 »
Probably a bug due to Joomla 1.5. Userlist is created for Joomla 1.0, I made it compatible for 1.5 in legacy mode but probably missed to test with usertype. I will fix that when I get some time over.

dwoltjer

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Userlist PHP Error when not showing user type
« Reply #2 on: 07 August 2008, 19:53 »
Thanks for your response saka. Looking forward to the fix. ReDJ

schnegge

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Userlist PHP Error when not showing user type
« Reply #3 on: 31 August 2008, 12:30 »
I would appreciate a fix for this bug, too!

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Userlist PHP Error when not showing user type
« Reply #4 on: 02 September 2008, 14:40 »
Fixed!
If you download the latest file from http://joomlacode.org/gf/project/userlist/frs/ the issue will be solved.

riesfeen

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Userlist PHP Error when not showing user type
« Reply #5 on: 05 September 2008, 13:33 »
Thank you! Is there any way you you could do the same for the userlist xtd component? Gives the same error. I sure would like to link it to CB.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Userlist PHP Error when not showing user type
« Reply #6 on: 05 September 2008, 13:44 »
Userlist XTD is not my product, it's forked from my original Userlist by someone, so I don't support it.

riesfeen

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Userlist PHP Error when not showing user type
« Reply #7 on: 05 September 2008, 14:05 »
Too Bad. I liked the CB pictures and IM links. Can't you fork it back? :P

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Userlist PHP Error when not showing user type
« Reply #8 on: 05 September 2008, 15:32 »
You don't understand. "Userlist" is my product. I already fixed it.

"Userlist XTD" is another product created by someone else who took my "Userlist" component and put his own changes. I can't and won't support that product since it's not something I released. Talk to its author.