When I attempt to accept an invitation via the link in the email, I get this error:

warning: implode(): Bad arguments. in /home/virtual/site2/fst/var/www/html/modules/og.module on line 419.
warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site2/fst/var/www/html/includes/common.inc:385) in /home/virtual/site2/fst/var/www/html/includes/common.inc on line 193.

although, when I log into my account, it appears that my subscription request was sent to the administrator.

Comments

moshe weitzman’s picture

could someone confirm if this is still a problem?

samo’s picture

still a problem if there are no admins in a group.

if you initialize the $admins array with the email of the manager, you won't have this problem

$manager = user_load($node->uid);
$admins[] = $manager->mail;
moshe weitzman’s picture

Category: support » bug

the owner of the group node is not allowed to unsubscribe. I don't see how this could happen. what am i missing?

samo’s picture

Odd... must be an artifact of some node_access problems.

Looking through the code, I don't see any way for the manager to unsubscribe and thus the implode problem should never happen.

To fix my node_access problem I ran this sql statement:

REPLACE INTO node_access (nid, gid, realm, grant_view, grant_update, grant_delete) VALUES (%d, %d, 'og_uid', 1, 1, 1)

moshe weitzman’s picture