Answers.Body: <p>This is a known issue - see <a href="https://issues.civicrm.org/jira/browse/CRM-19286" rel="nofollow noreferrer">CRM-19286</a>.  To fix, upgrade to CiviCRM 4.7.12 or higher.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-24T14:54:00.543Z
Answers.LastActivityDate: 2016-11-24T14:54:00.543Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>If you can't get it to work as you need you could consider just using webform_civicrm module which gives great functionality for Petitions and much more.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-24T20:20:20.473Z
Answers.LastActivityDate: 2017-03-24T20:20:20.473Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>Luckily that's a helpful error message. The code causing the error is on line 182 in petitionemail.php, and the error can be eliminated by commenting out that line.</p>
  
  <p>However, being new to this extension, I don't know if that's affecting functionality. Everything seems to work.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-24T21:41:52.753Z
Answers.LastActivityDate: 2016-10-24T21:41:52.753Z
Answers.UserDisplayName: Eric H
Body: <p>I just installed the "Petition Email" extension (2.0) for CiviCRM (4.7.10) under Drupal (7.50). When going to Campaign > New Petition, I get the error</p>
  
  <pre><code>Sorry but we are not able to provide this at the moment. 'civicrm_survey' is not a valid option for field entity_table
  </code></pre>
  
Tags: <extension>
Title: Petition Email Error When Creating New Petition
ThreadText: # Petition Email Error When Creating New Petition
  
  (Asked by: username_0 on 2016-10-24)
  
  I just installed the "Petition Email" extension (2.0) for CiviCRM (4.7.10) under Drupal (7.50). When going to Campaign > New Petition, I get the error
  
  ```
  Sorry but we are not able to provide this at the moment. 'civicrm_survey' is not a valid option for field entity_table
  
  ```
  
  **Tags:** extension
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_1 on 2016-11-24. Score: 1
  
  This is a known issue - see [CRM-19286](https://issues.civicrm.org/jira/browse/CRM-19286). To fix, upgrade to CiviCRM 4.7.12 or higher.
  
  
  ---
  
  ### Answer by username_2 on 2017-03-24. Score: 0
  
  If you can't get it to work as you need you could consider just using webform\_civicrm module which gives great functionality for Petitions and much more.
  
  
  ---
  
  ### Answer by username_0 on 2016-10-24. Score: -1
  
  Luckily that's a helpful error message. The code causing the error is on line 182 in petitionemail.php, and the error can be eliminated by commenting out that line.
  
  However, being new to this extension, I don't know if that's affecting functionality. Everything seems to work.
  
  
  ---
  
  