2011/04/15 01:49:02 [error] 5558#0: *37 FastCGI sent in stderr: "PHP Warning: Call-time pass-by-reference has been deprecated in /var/www/mydomain.com/public_html/sites/all/modules/og_subgroups/includes/form.inc on line 107
PHP Warning: Call-time pass-by-reference has been deprecated in /var/www/mydomain.com/public_html/sites/all/modules/og_subgroups/includes/form.inc on line 134" while reading response header from upstream, client: 220.255.1.26, server: mydomain.com, request: "GET /node/add/master-project HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mydomain.com", referrer: "http://mydomain.com/admin"

I add og_subgroup create node link into my menu and every time i click that link i got this error in my server error.log but i manually key in http://mydomain.com/node/add/og_subgroup(content-type) into the url it doesn't have the error in the server log.

I using nginx/0.8.54, php-fpm/5.2.17, mariadb/5.1.49

Comments

m.schwarzenberg’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta1

I have tried to downgrade to beta1 to solve this problem- But the same message will be displayed if I enable this module when I choose a site that has to display a subgroup.

Additionally log message (when previewing a view .../admin/build/views/ajax/preview/calendar_termin):
Cannot modify header information - headers already sent by (output started at .../htdocs/sites/all/modules/og_subgroups/includes/form.inc:106) in /mnt/weba/50/46/5155646/htdocs/includes/common.inc in Zeile 148.

My first bug message points to line 106. Yours to 107. perhaps same problem - other line-nr. depending on different releases?

If the developer has to know specific informations about other modules that perhaps 'bites' this one - let us know. This module is the just what we need for our fire brigade's website. Visit us at www.feuerwehr-delbrueck.de

bschilt’s picture

Title: get this error in my log » Call-time pass-by-reference in log file
Status: Active » Fixed

I was able to recreate the PHP warning and have committed a fix for this in 6.x-1.x-dev branch. Let me know if its fixed in your environments.

m.schwarzenberg’s picture

Thank you forthe immediately support, I will test it the next days. I'm in preparing for easter family meeting.
@spacereactor: Are you able to test it?

spacereactor’s picture

i just update the 6.x-1.x-dev 2011-Apr-19, it did solve my FastCGI sent in stderr: "PHP Warning: Call-time pass-by-reference has been deprecated in /var/www/mydomain.com/public_html/sites/all/modules/og_subgroups/includes/form.inc on line 107

But i can't say if it fix your 106.

Thank bschilt!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.