# PayPal Plugin bricht ab oder wirft Error

**URL:** <https://forum.shopware.com/t/paypal-plugin-bricht-ab-oder-wirft-error/50483>\
**Category:** Plugins\
**Tags:** offizielle-shopware-\
**Created:** [16. Januar 2018 um 12:50 UTC](https://forum.shopware.com/t/paypal-plugin-bricht-ab-oder-wirft-error/50483 "2018-01-16T12:50:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![du.martin](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@du.martin](https://forum.shopware.com/u/du.martin)\
**Post date:** [16. Januar 2018 um 12:50 UTC](https://forum.shopware.com/t/paypal-plugin-bricht-ab-oder-wirft-error/50483/1 "2018-01-16T12:50:30Z")

</div>

Hallo,

nach dem Update des PayPal-Plugins auf 3.4.11 wird entweder die Bestellung per PayPal abgebrochen oder die Bestellung geht raus und danach kommt folgende Fehlermeldung:

Fatal error: Uncaught exception ‚PDOException‘ with message ‚SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‚= 1‘ at line 1‘ in /XXX/engine/Library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /XXX/engine/Library/Zend/Db/Statement/Pdo.php(228): PDOStatement-\>execute(Array) #1 /XXX/engine/Library/Zend/Db/Statement.php(303): Zend\_Db\_Statement\_Pdo-\>\_execute(Array) #2 /XXX/engine/Library/Zend/Db/Adapter/Abstract.php(480): Zend\_Db\_Statement-\>execute(Array) #3 /XXX/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend\_Db\_Adapter\_Abstract-\>query(‚SELECT base\_pat…‘, Array) #4 /XXX/engine/Library/Enl in /XXX/engine/Library/Zend/Db/Statement/Pdo.php on line 234 503 Service Unavailable Fatal error: Undefined class constant ‚PRIMARY\_TYPE\_NUM‘ in /XXX/engine/Library/Zend/Session/SaveHandler/DbTable.php on line 522

Scheint ein Bug zu sein oder?&nbsp;
