<p>I think we solved it:</p>
<p>It's a Freeform Pro feature, not available in Freeform Lite :)</p>

CC BY-SA 4.0
2023-03-30T20:17:18.253Z
Can you add more detail to your answer? This isn't very helpful for someone having the same issue.
Anna_MediaGirl
CC BY-SA 4.0
2023-03-30T14:02:24.320Z
2023-03-31T04:45:06.240Z
2023-03-31T04:45:06.240Z
ChuckLean
<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>

<plugin-freeform><freeform>
Freeform purge submissions: unknown command
# 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.  

---

