# Fehlermeldung

**URL:** https://forum.shopware.com/t/fehlermeldung/52756
**Category:** Allgemein
**Created:** [6. Mai 2018 um 10:52 UTC](https://forum.shopware.com/t/fehlermeldung/52756 "2018-05-06T10:52:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dietmar886](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@Dietmar886](https://forum.shopware.com/u/Dietmar886)
#### Post date: [6. Mai 2018 um 10:52 UTC](https://forum.shopware.com/t/fehlermeldung/52756/1 "2018-05-06T10:52:28Z")

</div>

&nbsp;

Hallo,

beim Versuch eine neue Kundegruppe zu erstellen,&nbsp;speichert er die nicht und es kommt die Fehlermeldung

```
 PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'basketdiscountstart' cannot be null in /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:168

 Stack trace:

 #0 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(168): PDOStatement-\>execute(NULL)

 #1 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(281): Doctrine\DBAL\Statement-\>execute()

 #2 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1014): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>executeInserts()

 #3 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork-\>executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata))

 #4 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork-\>commit(NULL)

 #5 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Controllers/Backend/Config.php(631): Doctrine\ORM\EntityManager-\>flush()

 #6 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Enlight/Controller/Action.php(193): Shopware\_Controllers\_Backend\_Config-\>saveValuesAction()

 #7 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight\_Controller\_Action-\>dispatch('saveValuesActio...')

 #8 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))

 #9 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Kernel.php(215): Enlight\_Controller\_Front-\>dispatch()

 #10 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(486): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

 #11 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)

 #12 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(253): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)

 #13 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)

 #14 /www/htdocs/w015a097/riff-aquaristik-lange.de/shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))

 #15 {main}

 &nbsp;

 Next Doctrine\DBAL\DBALException: An exception occurred while executing 'INSERT INTO s\_core\_customergroups\_discounts (basketdiscount, basketdiscountstart, groupID) VALUES (?, ?, ?)' with params [5, null, 2]:

 &nbsp;

 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'basketdiscountstart' cannot be null in /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:131

 Stack trace:

 #0 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(177): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'INSERT INTO s\_c...', Array)

 #1 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(281): Doctrine\DBAL\Statement-\>execute()

 #2 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1014): Doctrine\ORM\Persisters\Entity\BasicEntityPersister-\>executeInserts()

 #3 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(378): Doctrine\ORM\UnitOfWork-\>executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata))

 #4 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(356): Doctrine\ORM\UnitOfWork-\>commit(NULL)

 #5 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Controllers/Backend/Config.php(631): Doctrine\ORM\EntityManager-\>flush()

 #6 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Enlight/Controller/Action.php(193): Shopware\_Controllers\_Backend\_Config-\>saveValuesAction()

 #7 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight\_Controller\_Action-\>dispatch('saveValuesActio...')

 #8 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))

 #9 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Kernel.php(215): Enlight\_Controller\_Front-\>dispatch()

 #10 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(486): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

 #11 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)

 #12 /www/htdocs/w015a097/riff-aquaristik-lange.de/vendor/symfony/http-kernel/HttpCache/HttpCache.php(253): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)

 #13 /www/htdocs/w015a097/riff-aquaristik-lange.de/engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)

 #14 /www/htdocs/w015a097/riff-aquaristik-lange.de/shopware.php(122): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))

 #15 {main}

 2018-05-05T16:07:08.735649+0200

 core

 {

 &nbsp;&nbsp;&nbsp; "uri": "/backend/Config/saveValues?\_repositoryClass=customerGroup&\_dc=1525529042609",

 &nbsp;&nbsp;&nbsp; "method": "POST",

 &nbsp;&nbsp;&nbsp; "query": {

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "\_repositoryClass": "customerGroup",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "\_dc": "1525529042609",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "module": "backend",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "controller": "Config",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "action": "saveValues"

 &nbsp;&nbsp;&nbsp; },

 &nbsp;&nbsp;&nbsp; "post": {

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "id": 2,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "key": "H",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "HÃ¤ndler",

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "tax": true,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "taxInput": false,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "mode": false,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "discount": 0,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "minimumOrder": 0,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "minimumOrderSurcharge": 0,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deletable": true,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "discounts": [

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "discount": 5,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "value": null,

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "id": null

 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }

 &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]

 &nbsp;&nbsp;&nbsp; }

 }

 No shop data available

 {

 &nbsp;&nbsp;&nbsp; "userId": "50",

 &nbsp;&nbsp;&nbsp; "roleId": "1"

 } 

```

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![Dietmar886](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@Dietmar886](https://forum.shopware.com/u/Dietmar886)
#### Post date: [6. Mai 2018 um 10:53 UTC](https://forum.shopware.com/t/fehlermeldung/52756/2 "2018-05-06T10:53:46Z")

</div>

Hoffe das mir hier jemand helfen kann um das Problem zu lösen&nbsp;

---

<div class="post-metadata">

### Author: ![eldan](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@eldan](https://forum.shopware.com/u/eldan)
#### Post date: [5. September 2018 um 09:21 UTC](https://forum.shopware.com/t/fehlermeldung/52756/3 "2018-09-05T09:21:16Z")

</div>

Hallo Dietmar,

bist du mit dem Problem weitergekommen?

Wir haben gerade das gleiche Problem. Was funktioniert ist das Anlegen der Gruppe, aber beim Hinzufügen eines Warenkorb Rabatt kommt die gleiche&nbsp;Fehlermeldung.
