New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

form:submissions throws error when there's more than 1 submission #2005

Closed
eimpacteric opened this Issue Jun 5, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@eimpacteric

eimpacteric commented Jun 5, 2018

Describe the bug
I'm using form:submissions in a template file which works as expected when there is only 1 submission, but as soon as there is an additional submission all I get is:

Whoops, looks like something went wrong
FatalThrowableError in DataCollection.php line 93:
Call to undefined method Statamic\Forms\Submission::getSupplement()

To Reproduce
{{ form:set in="customer_reviews" }}
{{ form:submissions }}
{{ name }}
{{ /form:submissions }}
{{ /form:set }}

Environment details

  • Statamic v 2.9.6
  • Upgrade
  • OS: Ubuntu 16.04 LTS / ServerPilot
  • Web Server: Apache/Nginx
  • PHP Version: 7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment