Am getting a blank page when clicking on the 'email' tab under the group page. My Group has 2 subscribers and clicking email gives the following error in the Apache log:
[Tue Apr 25 16:45:31 2006] [error] [client 192.168.1.12] PHP Fatal error: Only variables can be passed by reference in/ home/httpdocs/modules/og/og.module on line 242, referer: http://192.168.1.165/node/30/edit

Was running Drupal 4.7 RC2 but just updated to CVS latest (for Drupal and og.module) but still get the error.

Comments

moshe weitzman’s picture

i can't reproduce this on php5.1 anyone else?

bejam’s picture

I am using PHP 5.0.5 and mysql 5.0.18 if that makes any difference. Have also tried completely removing og.module and re-installing, but still getting the error.

bejam’s picture

I'm no PHP expert but googled around and found that assigning a variable name to the og_email_form($gid) call fixes the problem... Line 241:
return drupal_get_form('og_email_form', $foo=og_email_form($gid));

moshe weitzman’s picture

that solution makes no sense to me. anyone understand why this is (allegedly) happenning?

moshe weitzman’s picture

Status: Active » Closed (fixed)

too old