Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm looking to create a views list, of forms, and mark which forms the user has already filled out / completed / submitted.
I have tried to do this by adding the Views Relationships:
- Content: Webform submission
- (Webform Submission) Webform submissions: User
Then adding a Field called:
- User: Webform submission count
So I can at least display which forms the user has already submitted, and how many times.
However I then get this error:
Fatal error: Call to a member function execute() on a non-object in /drupal7/sites/all/modules/webform/views/webform_handler_field_submission_count.inc on line 55
Help!?
Comment | File | Size | Author |
---|---|---|---|
#5 | views_field_user_webform_submission_count_error-1375182-5.patch | 631 bytes | anou |
Comments
Comment #1
wOOge CreditAttribution: wOOge commentedUpdated title to include error detail.
Comment #2
ibexy CreditAttribution: ibexy commentedAm having this same issue now.
Comment #3
quicksketchUpdating title. @ibexy: I marked your other issue at #1437014: An AJAX HTTP Error message in VIEWS after upgrade to Drupal 7.12 duplicate.
Comment #4
jwjoshuawalker CreditAttribution: jwjoshuawalker commentedThis is an easy fix, probably a typo, countQuery is missing '()'.
This:
Should be this:
(line 55 of /modules/webform/views/webform_handler_field_submission_count.inc)
Comment #5
anouAnd here's a patch against 7.x-3.x branch but it should apply without problem I think on 7.x-4.x...
Comment #6
quicksketchExcellent, thanks @anou!
Comment #7
quicksketchCommitted to 7.x-3.x and 7.x-4.x branches.