Posted by naught101 on June 14, 2010 at 5:54am
3 followers
| Project: | Webform |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Installed webform-7.x-3.0-beta5 via drush, no errors reported. Now every page has :
* Warning: Parameter 1 to webform_node_load() expected to be a reference, value given in DrupalDefaultEntityController->attachLoad() (line 255 of /home/files/coding/drupal/drupal-7.x-cvs/includes/entity.inc).
* Warning: Parameter 1 to webform_node_view() expected to be a reference, value given in module_invoke_all() (line 708 of /home/files/coding/drupal/drupal-7.x-cvs/includes/module.inc).And when I go to http://localhost/drupal7/admin/content/webform I get a WSOD, with this error in apache's error log:[Mon Jun 14 15:40:53 2010] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function condition() on a non-object in /home/files/coding/drupal/drupal-7.x-cvs/sites/all/modules/webform/includes/webform.admin.inc on line 194, referer: http://localhost/drupal7/facts
Comments
#1
also in latest CVS
#2
#765308: hook_node_view and hook_node_load should not use & in their parameters
#3
The first report is a duplicate, the second is valid. In the future, please do not combine multiple bugs into the same report.
This patch should correct the problem, committed to CVS.
#4
Confirm, WSOD is fixed. Thanks quicksketch. You rock.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.