Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I press the Results tab for Webform 7.4.2 I get a message saying "Fatal error: Call to a member function preview() on a non-object in /srv/drupal/sites/all/modules/webform/includes/webform.report.inc on line 35"
Ran update.php and all working again!
Comments
Comment #1
djimmer CreditAttribution: djimmer commentedComment #3
Bart Vanhoutte CreditAttribution: Bart Vanhoutte commentedExperiencing similar error: Fatal error: Call to a member function preview() on a non-object in .../webform/includes/webform.admin.inc on line 293
Comment #4
DanChadwick CreditAttribution: DanChadwick commentedClear your cache. The built-in view wasn't found.
Did you run update.php / drush updatedb / drush update webform?
Comment #5
Bart Vanhoutte CreditAttribution: Bart Vanhoutte commentedMissing file, downloaded the module again and it works.
Thanks
Comment #6
mikeskull CreditAttribution: mikeskull commentedyep default view inc file was missing, redownloaded and its fine now.