Download & Extend

WSOD on admin/content/webform in Drupal 7

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

Version:7.x-3.0-beta5» 7.x-3.x-dev

also in latest CVS

#2

#3

Title:Errors on install, WSOD.» WSOD on admin/content/webform in Drupal 7
Priority:critical» normal
Status:closed (duplicate)» fixed

The first report is a duplicate, the second is valid. In the future, please do not combine multiple bugs into the same report.

And when I go to http://localhost/drupal7/admin/content/webform I get a WSOD

This patch should correct the problem, committed to CVS.

AttachmentSize
webform_content_d7.patch 721 bytes

#4

Confirm, WSOD is fixed. Thanks quicksketch. You rock.

#5

Status:fixed» closed (fixed)

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

nobody click here