# Update von 5.6.2 auf 5.6.3 schlägt fehlt

**URL:** https://forum.shopware.com/t/update-von-5-6-2-auf-5-6-3-schlagt-fehlt/63347
**Category:** Allgemein
**Created:** [4. Dezember 2019 um 15:13 UTC](https://forum.shopware.com/t/update-von-5-6-2-auf-5-6-3-schlagt-fehlt/63347 "2019-12-04T15:13:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![juha\_90](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@juha\_90](https://forum.shopware.com/u/juha_90)
#### Post date: [4. Dezember 2019 um 15:13 UTC](https://forum.shopware.com/t/update-von-5-6-2-auf-5-6-3-schlagt-fehlt/63347/1 "2019-12-04T15:13:59Z")

</div>

Hallo zusammen,

beim Versuch das Update von 5.6.2 auf 5.6.3 in einer Testumgebung durchzuführen, kommt es beim aufräumen zu nachfolgendem Fehler.&nbsp;&nbsp;Ich entnehme der Meldung, dass der Fehler offenbar mit dem Shopware Plugin Hide Prices zusammen hängt. Hat jemand anderes bereits den selben Fehler bei sich entdecken können?

**Slim Application Error**

The application could not run because of the following error:

**Details**

**Type:** &nbsp;ErrorException

**Code:** &nbsp;2

**Message:** &nbsp;Declaration of SwagHidePrices\SwagHidePrices::install() should be compatible with Shopware\Components\Plugin::install(Shopware\Components\Plugin\Context\InstallContext $context)

**File:** &nbsp;/html/shopware/swstaging/custom/plugins/SwagHidePrices/SwagHidePrices.php

**Trace** &nbsp;

#0 [internal function]: Slim\Slim::handleErrors(2, ‘Declaration of …’, ‘/html/shopware/…’, 0, Array)

#1 /html/shopware/swstaging/engine/Shopware/Bundle/PluginInstallerBundle/Service/PluginInitializer.php(159): call\_user\_func(Array, 2, ‘Declaration of …’, ‘/html/shopware/…’, 0, Array)

#2 /html/shopware/swstaging/vendor/symfony/class-loader/Psr4ClassLoader.php(71): Shopware\Bundle\PluginInstallerBundle\Service\PluginInitializer-\>errorHandler(2, ‘Declaration of …’, ‘/html/shopware/…’, 0, Array)

#3 /html/shopware/swstaging/vendor/symfony/class-loader/Psr4ClassLoader.php(71): require()

#4 [internal function]: Symfony\Component\ClassLoader\Psr4ClassLoader-\>loadClass(‘SwagHidePrices\…’)

#5 [internal function]: spl\_autoload\_call(‘SwagHidePrices\…’)

#6 /html/shopware/swstaging/engine/Shopware/Bundle/PluginInstallerBundle/Service/PluginInitializer.php(118): class\_exists(’\SwagHidePrices…’)

#7 /html/shopware/swstaging/engine/Shopware/Kernel.php(484): Shopware\Bundle\PluginInstallerBundle\Service\PluginInitializer-\>initializePlugins()

#8 /html/shopware/swstaging/engine/Shopware/Kernel.php(235): Shopware\Kernel-\>initializePlugins()

#9 /html/shopware/swstaging/recovery/update/src/DependencyInjection/Container.php(177): Shopware\Kernel-\>boot()

#10 /html/shopware/swstaging/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Update\DependencyInjection\Container-\>Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))

#11 /html/shopware/swstaging/recovery/update/src/DependencyInjection/Container.php(186): Pimple\Container-\>offsetGet(‘shopware.contai…’)

#12 /html/shopware/swstaging/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Update\DependencyInjection\Container-\>Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))

#13 /html/shopware/swstaging/recovery/common/src/DependencyInjection/Container.php(71): Pimple\Container-\>offsetGet(‘shopware.theme\_…’)

#14 /html/shopware/swstaging/recovery/update/src/app.php(169): Shopware\Recovery\Common\DependencyInjection\Container-\>get(‘shopware.theme\_…’)

#15 [internal function]: {closure}()

#16 /html/shopware/swstaging/recovery/common/vendor/slim/slim/Slim/Route.php(468): call\_user\_func\_array(Object(Closure), Array)

#17 /html/shopware/swstaging/recovery/common/vendor/slim/slim/Slim/Slim.php(1355): Slim\Route-\>dispatch()

#18 /html/shopware/swstaging/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim-\>call()

#19 /html/shopware/swstaging/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash-\>call()

#20 /html/shopware/swstaging/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride-\>call()

#21 /html/shopware/swstaging/recovery/common/vendor/slim/slim/Slim/Slim.php(1300): Slim\Middleware\PrettyExceptions-\>call()

#22 /html/shopware/swstaging/recovery/update/index.php(57): Slim\Slim-\>run()

#23 {main}

---

<div class="post-metadata">

### Author: ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)
#### Post date: [5. Dezember 2019 um 07:04 UTC](https://forum.shopware.com/t/update-von-5-6-2-auf-5-6-3-schlagt-fehlt/63347/2 "2019-12-05T07:04:19Z")

</div>

Bei dem Plugin steht dir wohl Support zu, also nutze ihn doch.

---

<div class="post-metadata">

### Author: ![vanwittlaer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/vanwittlaer/32/8499_2.png) [@vanwittlaer](https://forum.shopware.com/u/vanwittlaer)
#### Post date: [6. Dezember 2019 um 11:04 UTC](https://forum.shopware.com/t/update-von-5-6-2-auf-5-6-3-schlagt-fehlt/63347/3 "2019-12-06T11:04:58Z")

</div>

Dieser Quick-Fix tut’s bei mir:  
&nbsp;

```
diff --git a/custom/plugins/SwagHidePrices/SwagHidePrices.php b/custom/plugins/SwagHidePrices/SwagHidePrices.php
index 50a278af..aba31110 100644
--- a/custom/plugins/SwagHidePrices/SwagHidePrices.php
+++ b/custom/plugins/SwagHidePrices/SwagHidePrices.php
@@ -36,7 +36,7 @@ class SwagHidePrices extends Plugin
 
     public const DO_NOT_CACHE_PRICE_TAG = 'frontend/detail price';
 
- public function install()
+ public function install(Plugin\Context\InstallContext $context)
     {
         $this->installNoCacheTag();
     }

```

Ticket&nbsp;SW-24988

Happy selling

Geert
