# PayPal 2.7.0 - Fehler nach Update (Shopware 5.5.7)

**URL:** https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165
**Category:** Plugins
**Tags:** offizielle-shopware-
**Created:** [25. Mai 2020 um 06:56 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165 "2020-05-25T06:56:54Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![MaxB](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@MaxB](https://forum.shopware.com/u/MaxB)
#### Post date: [25. Mai 2020 um 06:56 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/1 "2020-05-25T06:56:54Z")

</div>

Hallo

nach Update auf 2.7.0 erscheint folgender Fehler im Frontend. Hat jemand eine Idee? ([@Shopware Developer]([http://forum.shopware.com/profile/18563/Shopware](http://forum.shopware.com/profile/18563/Shopware) Developer “Shopware Developer”)‍)

```
Ups! Ein Fehler ist aufgetreten!
Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

Property SwagPaymentPayPalUnified\Models\Settings\General::$advertiseReturns does not exist in vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php on line 80
Stack trace:
#0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php(80): ReflectionProperty->__construct('SwagPaymentPayP...', 'advertiseReturn...')
#1 vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(964): Doctrine\Common\Persistence\Mapping\RuntimeReflectionService->getAccessibleProperty('SwagPaymentPayP...', 'advertiseReturn...')
#2 vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(721): Doctrine\ORM\Mapping\ClassMetadataInfo->wakeupReflection(Object(Doctrine\Common\Persistence\Mapping\RuntimeReflectionService))
#3 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(214): Doctrine\ORM\Mapping\ClassMetadataFactory->wakeupReflection(Object(Doctrine\ORM\Mapping\ClassMetadata), Object(Doctrine\Common\Persistence\Mapping\RuntimeReflectionService))
#4 vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(281): Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('SwagPaymentPayP...')
#5 engine/Shopware/Components/Model/ProxyAwareRepositoryFactory.php(56): Doctrine\ORM\EntityManager->getClassMetadata('SwagPaymentPayP...')
#6 vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(698): Shopware\Components\Model\ProxyAwareRepositoryFactory->getRepository(Object(Shopware\Components\Model\ModelManager), 'SwagPaymentPayP...')
#7 custom/plugins/SwagPaymentPayPalUnified/Components/Services/SettingsService.php(73): Doctrine\ORM\EntityManager->getRepository('SwagPaymentPayP...')
#8 custom/plugins/SwagPaymentPayPalUnified/Subscriber/InContext.php(82): SwagPaymentPayPalUnified\Components\Services\SettingsService->getSettings()
#9 engine/Library/Enlight/Event/Handler/Default.php(91): SwagPaymentPayPalUnified\Subscriber\InContext->addInContextButton(Object(Enlight_Controller_ActionEventArgs))
#10 engine/Library/Enlight/Event/EventManager.php(220): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs))
#11 engine/Library/Enlight/Controller/Action.php(208): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_ActionEventArgs))
#12 engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight_Controller_Action->dispatch('confirmAction')
#13 engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#14 engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch()
#15 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#18 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#19 vendor/symfony/http-kernel/HttpCache/HttpCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#20 engine/Shopware/Components/HttpCache/AppCache.php(143): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#21 vendor/symfony/http-kernel/HttpCache/HttpCache.php(181): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true)
#22 engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))

```

&nbsp;

---

<div class="post-metadata">

### Author: ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)
#### Post date: [25. Mai 2020 um 07:44 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/2 "2020-05-25T07:44:21Z")

</div>

Hallo Max,

kannst du mal versuchen den Cache zu leeren?

Viele Grüße aus Schöppingen

![cool](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![DennisG](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DennisG](https://forum.shopware.com/u/DennisG)
#### Post date: [25. Mai 2020 um 07:47 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/3 "2020-05-25T07:47:45Z")

</div>

Hi Max,&nbsp;

du solltest mal versuche den CacheOrdner zu löschen.&nbsp;

Viele Grüße aus Schöppingen

Dennis Garding

&nbsp;

---

<div class="post-metadata">

### Author: ![MaxB](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@MaxB](https://forum.shopware.com/u/MaxB)
#### Post date: [25. Mai 2020 um 07:51 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/4 "2020-05-25T07:51:45Z")

</div>

Hi und danke für die schnelle Antwort,

wir haben jemand rangesetzt, weil es wirklich eilte:

Es scheint, als würde das löschen aller Caches+Kompilieren über das Performance Modul, was meiner Meinung nach der Standardweg für viele Nutzer ist (bzw. nach Update), nicht ausreichen. Es musste über die Console geleert werden + Models update. Vielleicht solltet ihr doch nochmal schauen, ob das ein Problem ist.

VG

---

<div class="post-metadata">

### Author: ![chschmitt](https://avatars.discourse-cdn.com/v4/letter/c/71e660/32.png) [@chschmitt](https://forum.shopware.com/u/chschmitt)
#### Post date: [25. Mai 2020 um 08:31 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/5 "2020-05-25T08:31:33Z")

</div>

Hallo Max,

wir haben hier genau das gleiche Problem nachdem wir gestern das PayPal Update auf die Version 2.7.0 gemacht haben. Wie hast Du das Models Update gemacht?

&nbsp;

Viele Grüße,

&nbsp;

Christian

---

<div class="post-metadata">

### Author: ![MaxB](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@MaxB](https://forum.shopware.com/u/MaxB)
#### Post date: [25. Mai 2020 um 10:17 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/6 "2020-05-25T10:17:12Z")

</div>

Hallo Christian

Ich habe nur vom Techniker ohne Wissen nachgeplaudert, es sollte aber sein:

**php bin/console sw:generate:attributes**

gefolgt von

**php bin/console sw:cache:clear**

---

<div class="post-metadata">

### Author: ![chschmitt](https://avatars.discourse-cdn.com/v4/letter/c/71e660/32.png) [@chschmitt](https://forum.shopware.com/u/chschmitt)
#### Post date: [25. Mai 2020 um 13:06 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/7 "2020-05-25T13:06:14Z")

</div>

Hallo Max,

vielen Dank für die schnelle Antwort. Das werde ich gleich ausprobieren.

[@Michael Telgmann]([http://forum.shopware.com/profile/17553/Michael](http://forum.shopware.com/profile/17553/Michael) Telgmann “Michael Telgmann”)‍ Gibt es hierzu schon eine Lösung von eurer Seite? Das Problem scheint ja kein Einzelfall zu sein.

Viele Grüße,

Christian

---

<div class="post-metadata">

### Author: ![DennisG](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DennisG](https://forum.shopware.com/u/DennisG)
#### Post date: [25. Mai 2020 um 13:50 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/8 "2020-05-25T13:50:01Z")

</div>

Hallo,  
aktuell gibt es dazu noch keine Lösung ausser den Inhalt des CacheOrdners zu löschen und eben die Models neu zu generieren.

Wir können momentan das Problem nicht nachstellen. Wenn Alle Update-Schritte durchgeführt werden, also  
Update Starten, auf Anfrage Cache leeren und Themes Compilieren Funktioniert es&nbsp;immer.

Sobald wir das Problem nachstellen können wird es natürlich einen Patch geben.

Viele Grüße aus Schöppingen

Dennis Garding

---

<div class="post-metadata">

### Author: ![codeenterprise](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@codeenterprise](https://forum.shopware.com/u/codeenterprise)
#### Post date: [25. Mai 2020 um 16:09 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/9 "2020-05-25T16:09:07Z")

</div>

Das klingt nach dem Verhalten was wir auch festgestellt haben bei einem Shop unseres Kunden. Dies tritt nur auf, wenn APCu aktiv ist. ohne APCu no problem.

Übrigens: Das tritt auch bei anderen Plugins auf, z.B. beim deinstallieren. Und anschließend dort, wo das Freitextfeld genutzt wurde, crasht es.

---

<div class="post-metadata">

### Author: ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)
#### Post date: [25. Mai 2020 um 16:11 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/10 "2020-05-25T16:11:22Z")

</div>

Danke für die Info&nbsp; ![Thumb-Up](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/thumb-up.png "Thumb-Up")  
Klingt für mich aber momentan nach einem generellen Problem, als ein spezielles vom PayPal Plugin. Vermutlich müssen wir das im Core beheben.

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

### Author: ![SoFi42](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@SoFi42](https://forum.shopware.com/u/SoFi42)
#### Post date: [24. September 2020 um 18:13 UTC](https://forum.shopware.com/t/paypal-2-7-0-fehler-nach-update-shopware-5-5-7/67165/11 "2020-09-24T18:13:58Z")

</div>

@codeenterprise‍

Vielen Dank für die APCu-Info. Wir hatten nach einem PayPal-Update ebenfalls den&nbsp; Fehler

```
Property SwagPaymentPayPalUnified\Models\Settings\General::$advertiseReturns does not exist ...

```

und in der Folge weitere Störungen auf der Site. Models neu generieren und Cache löschen per console änderte nichts, ohne APCu läuft alles problemlos.  
VG
