Posted by bejam on April 25, 2006 at 3:48pm
Jump to:
| Project: | Organic groups |
| Version: | master |
| Component: | og.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
i can't reproduce this on php5.1 anyone else?
#2
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.
#3
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));
#4
that solution makes no sense to me. anyone understand why this is (allegedly) happenning?
#5
too old