PayPal Plugin update Error

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

 

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 gelöscht habe.
Abgemeldet und neu angemeldet danach funktionierte es wieder.

1 „Gefällt mir“