# PayPal Plugin update Error

**URL:** <https://forum.shopware.com/t/paypal-plugin-update-error/57405>\
**Category:** Allgemein\
**Created:** [10. Januar 2019 um 14:36 UTC](https://forum.shopware.com/t/paypal-plugin-update-error/57405 "2019-01-10T14:36:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maisfeld](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@maisfeld](https://forum.shopware.com/u/maisfeld)\
**Post date:** [10. Januar 2019 um 14:36 UTC](https://forum.shopware.com/t/paypal-plugin-update-error/57405/1 "2019-01-10T14:36:13Z")

</div>

Hallo,

wir haben shopware version 5.5.2 und PHP 7.2.12 und wenn ich die Plugin von PayPal 2.0.0 auf 2.1.0 updaten will, erscheint folgende Errormeldung:

An exception occurred while executing ‘INSERT INTO s\_core\_menu (name, onclick, class, controller, action, shortcut, position, active, pluginID, parent) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ with params [“PayPal”, null, “sprite–paypal-unified”, null, null, null, 0, 1, 69, 65]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘PayPal-65’ for key ‘name’

Auch kann ich dieses Plugin nicht deinstallieren.  
Da erscheint diese Fehlermeldung:

Unable to uninstall, got exception: An exception occurred while executing ‘SELECT t0.id AS id\_1, t0.name AS name\_2, t0.description AS description\_3, t0.template AS template\_4, t0.class AS class\_5, t0.`table` AS table\_6, t0.hide AS hide\_7, t0.additionaldescription AS additionaldescription\_8, t0.debit\_percent AS debit\_percent\_9, t0.surcharge AS surcharge\_10, t0.surchargestring AS surchargestring\_11, t0.position AS position\_12, t0.active AS active\_13, t0.esdactive AS esdactive\_14, t0.mobile\_inactive AS mobile\_inactive\_15, t0.embediframe AS embediframe\_16, t0.hideprospect AS hideprospect\_17, t0.action AS action\_18, t0.pluginID AS pluginID\_19, t0.source AS source\_20, t21.id AS id\_22, t21.paymentmeanID AS paymentmeanID\_23, t21.swag\_paypal\_unified\_display\_in\_plus\_iframe AS swag\_paypal\_unified\_display\_in\_plus\_iframe\_24, t21.swag\_paypal\_unified\_plus\_iframe\_payment\_logo AS swag\_paypal\_unified\_plus\_iframe\_payment\_logo\_25, t21.paymentmeanID AS paymentmeanID\_26, t0.pluginID AS pluginID\_27 FROM s\_core\_paymentmeans t0 LEFT JOIN s\_core\_paymentmeans\_attributes t21 ON t21.paymentmeanID = t0.id WHERE t0.name = ? LIMIT 1’ with params [“paypal”]: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘t21.swag\_paypal\_unified\_display\_in\_plus\_iframe’ in ‘field list’

Hat jemand eine Idee wie ich das lösen kann?

Besten Dank

&nbsp;

---

<div class="post-metadata">

**Author:** ![maisfeld](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@maisfeld](https://forum.shopware.com/u/maisfeld)\
**Post date:** [10. Januar 2019 um 17:17 UTC](https://forum.shopware.com/t/paypal-plugin-update-error/57405/2 "2019-01-10T17:17:00Z")

</div>

Ich konnte es beheben indem ich in der Dtenbank den Menüeintrag aus der s\_core\_menu (PayPal) und auf dem Hosting Cache production\_xxxxxxx&nbsp;gelöscht habe.  
Abgemeldet und neu angemeldet danach funktionierte es wieder.
