Under 4.7.4 I get from the Teampage module the following error message:
warning: usort(): The argument should be an array in /var/htdocs/www.orthopoint.de/htdocs/bilder/modules/og_teampage/og_teampage.module on line 168.
warning: Invalid argument supplied for foreach() in /var/htdocs/www.orthopoint.de/htdocs/bilder/modules/og_teampage/og_teampage.module on line 169.
Do you have any idea how to solfe this problem ?
Thank you in advance.
A.M.
Comments
Comment #1
MartinSfromB commentedDid you add some users / members to the group?
Comment #2
orthopoint commentedyes I did. But all with the same IP number because I subscribed three addresses from me.
Comment #3
joetomgo commentedUsing og_teampage.module,v 1.5.2.8 2006/12/09 07:29:18, I continue to get the error message:warning: usort() [function.usort]: The argument should be an array in /home/communit/public_html/modules/og_teampage/og_teampage.module on line 168.
None of the 4 members of my group display in the module. Any help is greatly appreciated.
Comment #4
cioplus commentedI am getting the same. If it helps it is a PHP error indicated in my log. I am running PHP 5.1.6, IIS and Drupal 4.7.5.
The Team Page seems to operate OK other than that but I am just getting into them and have not finished implementing yet.
By the way how about a pick list for selecting uses to invite to the team or have a missed this so far.
Comment #5
peppelorum commentedThe problem comes from the building of the array.
Changing row 146 from
to
fixes this, but then all members gets listen in all the groups;-) So there is something wrong with the %b in the first sql.
Comment #6
peppelorum commentedIgnore my previous comment, the installation of my og and teampage was corrupted and I hadn't really figured out how teampage worked...
Comment #7
robertdjung commentedi've got the same errors being thrown.
Comment #8
robertdjung commentednevermind. I suppose this works fine, and perhaps the docs need updating. I was under the impression this module added a page to the group called "my team" -- like a "meet the team" type page. Whereas I guess it's only meant as a group home page, and that works fine, but isn't what I was thinking when i first installed it and had the errors. Perhaps I can use this to create a separate "team" page, but I'm still learning. Thx.
Comment #9
MartinSfromB commented