# Update Fehler auf 5.2.20 (1048 Column 'form\_id' cannot be null)

**URL:** <https://forum.shopware.com/t/update-fehler-auf-5-2-20-1048-column-form-id-cannot-be-null/44436>\
**Category:** Installation/Einstieg\
**Created:** [13. März 2017 um 10:50 UTC](https://forum.shopware.com/t/update-fehler-auf-5-2-20-1048-column-form-id-cannot-be-null/44436 "2017-03-13T10:50:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrick\_Duke](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@Patrick\_Duke](https://forum.shopware.com/u/Patrick_Duke)\
**Post date:** [13. März 2017 um 10:50 UTC](https://forum.shopware.com/t/update-fehler-auf-5-2-20-1048-column-form-id-cannot-be-null/44436/1 "2017-03-13T10:50:14Z")

</div>

Sämtliche Updates verliefen bisher problemlos, doch jetzt…

Wie kann dieses Problem gelöst werden?

```
Error
Received the following error message:
Could not apply migration (Migrations_Migration815). Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'form_id' cannot be null

Please try to fix this error and restart the update.
Response

{"valid":false,"errorMsg":"Could not apply migration (Migrations_Migration815). Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'form_id' cannot be null "}

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![Patrick\_Duke](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@Patrick\_Duke](https://forum.shopware.com/u/Patrick_Duke)\
**Post date:** [13. März 2017 um 11:22 UTC](https://forum.shopware.com/t/update-fehler-auf-5-2-20-1048-column-form-id-cannot-be-null/44436/2 "2017-03-13T11:22:51Z")

</div>

so… wenn ich das richtige verstehe liegt es am update file 815. Also „815-add-strip-tags-configuration-option.php“

Mit diesem File wird in der Tabelle „s\_core\_config\_elements“ der Eintrag „strip\_tags“ angelegt!

Kann mir jemand sagen Welche werte bei euch der Eintrag „InputFilter“ in „s\_core\_config\_forms“ hat?  
Den Eintrag gibt es bei mir nicht.

&nbsp;

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [14. März 2017 um 10:45 UTC](https://forum.shopware.com/t/update-fehler-auf-5-2-20-1048-column-form-id-cannot-be-null/44436/3 "2017-03-14T10:45:30Z")

</div>

> Kann mir jemand sagen Welche werte bei euch der Eintrag „InputFilter“ in „s\_core\_config\_forms“ hat?

id = 189  
parent\_id = 78  
name = InputFilter  
label = InputFilter  
description = nichts, KEIN (NULL)  
position = 0  
plugin\_id = 35

---

<div class="post-metadata">

**Author:** ![poleshift](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@poleshift](https://forum.shopware.com/u/poleshift)\
**Post date:** [21. März 2017 um 16:16 UTC](https://forum.shopware.com/t/update-fehler-auf-5-2-20-1048-column-form-id-cannot-be-null/44436/4 "2017-03-21T16:16:59Z")

</div>

Bei mir trat der selbe Fehler auf. Beim Überprüfen der Datenbank habe ich gesehen, dass der InputFilter mit der id 189 vollständig fehlte. Habe ihn manuell hinzugefügt mit den Werten von R4M, anschließend funktionierte das Update.
