Answers.Body: <p>I think we solved it:</p>
  <p>It's a Freeform Pro feature, not available in Freeform Lite :)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-30T20:17:18.253Z
Answers.Text: Can you add more detail to your answer? This isn't very helpful for someone having the same issue.
Answers.UserDisplayName: Anna_MediaGirl
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-30T14:02:24.320Z
Answers.LastActivityDate: 2023-03-31T04:45:06.240Z
Answers.LastEditDate: 2023-03-31T04:45:06.240Z
Answers.UserDisplayName: ChuckLean
Body: <p>We try to delete the submissions from Freeform with the following terminal command:
  <code>./craft freeform/purge/submissions --age-in-days=30</code></p>
  <p>And we get this error:</p>
  <pre><code>Craft can’t connect to the database. Check your connection settings.    
  
  Unknown command: freeform/purge/submissions
  Caused by: Exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request &quot;freeform/purge/submissions&quot;.'
  </code></pre>
  <hr />
  <p>Plugin-Info:
  Freeform Plugin Version: 4.0.8 (lite, not pro)</p>
  <p>Does anyone have a tip on how we can solve this?</p>
  
Tags: <plugin-freeform><freeform>
Title: Freeform purge submissions: unknown command
ThreadText: # Freeform purge submissions: unknown command
  
  (Asked by: username_0 on 2023-03-30)
  
  We try to delete the submissions from Freeform with the following terminal command:
  `./craft freeform/purge/submissions --age-in-days=30`
  
  And we get this error:
  
  ```
  Craft can’t connect to the database. Check your connection settings.    
  
  Unknown command: freeform/purge/submissions
  Caused by: Exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request "freeform/purge/submissions".'
  
  ```
  
  ---
  
  Plugin-Info:
  Freeform Plugin Version: 4.0.8 (lite, not pro)
  
  Does anyone have a tip on how we can solve this?
  
  **Tags:** plugin-freeform, freeform
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-03-30. Score: 1 | Accepted answer
  
  I think we solved it:
  
  It's a Freeform Pro feature, not available in Freeform Lite :)
  
  > **Comments:**
  > **username_1**: Can you add more detail to your answer? This isn't very helpful for someone having the same issue.  
  
  ---
  
  