[drupal-devel] [bug] "Only variables can be passed by reference" to node_invoke()

Dries drupal-devel at drupal.org
Sun Jul 3 15:30:34 UTC 2005


Issue status update for 
http://drupal.org/node/26235
Post a follow up: 
http://drupal.org/project/comments/add/26235

 Project:      Drupal
 Version:      4.6.2
 Component:    node system
 Category:     bug reports
 Priority:     critical
 Assigned to:  Anonymous
 Reported by:  danielc
 Updated by:   Dries
 Status:       patch

This can't be true ...




Dries



Previous comments:
------------------------------------------------------------------------

July 2, 2005 - 15:50 : danielc

Attachment: http://drupal.org/files/issues/node_invoke.diff (858 bytes)

A client of mine just upgraded to the latest snapshot of PHP 5.0.5-dev
and started getting errors when node_invoke() is called:


Fatal error: Only variables can be passed by reference in
c:\drupal\modules\node.module on line 702.


This patch fixes the problem by assigning the value to a variable
before passing it to node_invoke().


Thanks.







More information about the drupal-devel mailing list