Userlist PHP Error when not showing user type

15 years 7 months ago - 15 years 7 months ago #3062 by dwoltjer
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

Please Log in or Create an account to join the conversation.

15 years 7 months ago #3068 by Saka
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.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

15 years 7 months ago #3125 by dwoltjer
Thanks for your response saka. Looking forward to the fix. ReDJ

Please Log in or Create an account to join the conversation.

15 years 6 months ago #3258 by schnegge
I would appreciate a fix for this bug, too!

Please Log in or Create an account to join the conversation.

15 years 6 months ago #3263 by Saka
Fixed!
If you download the latest file from joomlacode.org/gf/project/userlist/frs/ the issue will be solved.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

15 years 6 months ago #3282 by riesfeen
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.

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch