# Fehler beim Bestellabschluss

**URL:** <https://forum.shopware.com/t/fehler-beim-bestellabschluss/41312>\
**Category:** Allgemein\
**Created:** [13. November 2016 um 15:18 UTC](https://forum.shopware.com/t/fehler-beim-bestellabschluss/41312 "2016-11-13T15:18:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![whim](https://avatars.discourse-cdn.com/v4/letter/w/848f3c/32.png) [@whim](https://forum.shopware.com/u/whim)\
**Post date:** [13. November 2016 um 15:18 UTC](https://forum.shopware.com/t/fehler-beim-bestellabschluss/41312/1 "2016-11-13T15:18:41Z")

</div>

Hi liebe Community, wir haben ein riesen Problem und hoffen jemand von euch kann uns helfen.

Seit kurzem haben wir einen Fehler im Bestellabschluss. Weder der Kunde noch wir bekommen eine Bestellbetätigungsmail zugesandt. Stattdessen wird die Meldung ‘Ups, ein Fehler…’ angezeigt.&nbsp;

Die Bestellung wird jedoch trotzdem angenommen, das hat natürlich zur Folge das Kunden dieselbe&nbsp;Bestellung öfter durchführen.

Wir wissen nicht woran es liegen könnte, hoffentlich hat jemand von euch eine Idee. Den Fehlerlog hänge ich einfach mal hinten an. Vielen Dank im Voraus!!

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

**Message:**

exception ‘PDOException’ with message ‘SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens’ in /html/shopware/engine/Library/Zend/Db/Statement/Pdo.php:228

Stack trace:

#0 /html/shopware/engine/Library/Zend/Db/Statement/Pdo.php(228): PDOStatement-\>execute(Array)

#1 /html/shopware/engine/Library/Zend/Db/Statement.php(303): Zend\_Db\_Statement\_Pdo-\>\_execute(Array)

#2 /html/shopware/engine/Library/Zend/Db/Adapter/Abstract.php(480): Zend\_Db\_Statement-\>execute(Array)

#3 /html/shopware/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend\_Db\_Adapter\_Abstract-\>query(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#4 /html/shopware/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(96): Zend\_Db\_Adapter\_Pdo\_Abstract-\>query(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#5 /html/shopware/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(131): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>query(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#6 /html/shopware/engine/Shopware/Core/sOrder.php(1412): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>executeUpdate(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#7 /html/shopware/engine/Shopware/Core/sOrder.php(784): sOrder-\>sSaveShippingAddress(Array, ‘334’)

#8 /html/shopware/engine/Shopware/Controllers/Frontend/Checkout.php(855): sOrder-\>sSaveOrder()

#9 /html/shopware/engine/Shopware/Controllers/Frontend/Checkout.php(372): Shopware\_Controllers\_Frontend\_Checkout-\>saveOrder()

#10 /html/shopware/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Frontend\_Checkout-\>finishAction()

#11 /html/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‘finishAction’)

#12 /html/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))

#13 /html/shopware/engine/Shopware/Kernel.php(177): Enlight\_Controller\_Front-\>dispatch()

#14 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

#15 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)

#16 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)

#17 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)

#18 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

#19 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

#20 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

#21 /html/shopware/shopware.php(113): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))

#22 {main}

&nbsp;

Next exception ‘Zend\_Db\_Statement\_Exception’ with message ‘SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens’ in /html/shopware/engine/Library/Zend/Db/Statement/Pdo.php:234

Stack trace:

#0 /html/shopware/engine/Library/Zend/Db/Statement.php(303): Zend\_Db\_Statement\_Pdo-\>\_execute(Array)

#1 /html/shopware/engine/Library/Zend/Db/Adapter/Abstract.php(480): Zend\_Db\_Statement-\>execute(Array)

#2 /html/shopware/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend\_Db\_Adapter\_Abstract-\>query(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#3 /html/shopware/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(96): Zend\_Db\_Adapter\_Pdo\_Abstract-\>query(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#4 /html/shopware/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(131): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>query(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#5 /html/shopware/engine/Shopware/Core/sOrder.php(1412): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>executeUpdate(’\n&nbsp; &nbsp; &nbsp; &nbsp; INSERT…’, Array)

#6 /html/shopware/engine/Shopware/Core/sOrder.php(784): sOrder-\>sSaveShippingAddress(Array, ‘334’)

#7 /html/shopware/engine/Shopware/Controllers/Frontend/Checkout.php(855): sOrder-\>sSaveOrder()

#8 /html/shopware/engine/Shopware/Controllers/Frontend/Checkout.php(372): Shopware\_Controllers\_Frontend\_Checkout-\>saveOrder()

#9 /html/shopware/engine/Library/Enlight/Controller/Action.php(159): Shopware\_Controllers\_Frontend\_Checkout-\>finishAction()

#10 /html/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‘finishAction’)

#11 /html/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp))

#12 /html/shopware/engine/Shopware/Kernel.php(177): Enlight\_Controller\_Front-\>dispatch()

#13 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

#14 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)

#15 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true)

#16 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(275): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true)

#17 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

#18 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(206): Shopware\Components\HttpCache\AppCache-\>invalidate(Object(Symfony\Component\HttpFoundation\Request), true)

#19 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)

#20 /html/shopware/shopware.php(113): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request))

#21 {main}

**Time:**

2016-11-13T15:06:34.050023+0100

**Channel:**

core

**request:**

{

&nbsp; &nbsp; “uri”: “/checkout/finish”,

&nbsp; &nbsp; “method”: “POST”,

&nbsp; &nbsp; “query”: {

&nbsp; &nbsp; &nbsp; &nbsp; “module”: “frontend”,

&nbsp; &nbsp; &nbsp; &nbsp; “controller”: “checkout”,

&nbsp; &nbsp; &nbsp; &nbsp; “action”: “finish”

&nbsp; &nbsp; },

&nbsp; &nbsp; “post”: {

&nbsp; &nbsp; &nbsp; &nbsp; “sComment”: “”,

&nbsp; &nbsp; &nbsp; &nbsp; “sAGB”: “on”,

&nbsp; &nbsp; &nbsp; &nbsp; “moptAgbChecked”: “”,

&nbsp; &nbsp; &nbsp; &nbsp; “moptAddressCheckNeedsUserVerification”: “”,

&nbsp; &nbsp; &nbsp; &nbsp; “\_\_csrf\_token”: “Ak2HsdezgNhNYcstffuRlPkIb7rAUO”

&nbsp; &nbsp; }

}

**session:**

No session data available

**shopId:**

1

**shopName:**

[whimGames.com](http://whimgames.com/)

---

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [13. November 2016 um 15:22 UTC](https://forum.shopware.com/t/fehler-beim-bestellabschluss/41312/2 "2016-11-13T15:22:15Z")

</div>

Ein Plugin (mopt) Adress Check oder ähnlich ist aktiv. Bitte mal deaktivieren und erneut probieren.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [13. November 2016 um 16:50 UTC](https://forum.shopware.com/t/fehler-beim-bestellabschluss/41312/3 "2016-11-13T16:50:58Z")

</div>

Könnte auch das alte DHL-Plugin zusammen mit SW 5.2 sein.  
Ich würde mal nacheinander die Plugins deaktivieren.

---

<div class="post-metadata">

**Author:** ![whim](https://avatars.discourse-cdn.com/v4/letter/w/848f3c/32.png) [@whim](https://forum.shopware.com/u/whim)\
**Post date:** [13. November 2016 um 16:56 UTC](https://forum.shopware.com/t/fehler-beim-bestellabschluss/41312/4 "2016-11-13T16:56:34Z")

</div>

Oh mann wahnsinn, daran hat es gelegen.&nbsp;

Ein rieisges Dankeschön…!
