# Fehler beim Update

**URL:** <https://forum.shopware.com/t/fehler-beim-update/56383>\
**Category:** Allgemein\
**Created:** [12. November 2018 um 12:31 UTC](https://forum.shopware.com/t/fehler-beim-update/56383 "2018-11-12T12:31:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eierund](https://avatars.discourse-cdn.com/v4/letter/e/e8c25b/32.png) [@eierund](https://forum.shopware.com/u/eierund)\
**Post date:** [12. November 2018 um 12:31 UTC](https://forum.shopware.com/t/fehler-beim-update/56383/1 "2018-11-12T12:31:50Z")

</div>

Hallo, kurz vor Beendigung des Updates auf SW 5.5.x kommt folgender Fehler:

Declaration of SizeSplitter\SizeSplitter::install() should be compatible with Shopware\Components\Plugin::install(Shopware\Components\Plugin\Context\InstallContext $context)

Kann mir jemand sagen, was genau das Problem ist?

Im Plugin haben wir folgendes stehen:

```
namespace SizeSplitter;
 
use Shopware\Components\Plugin;
use Shopware\Components\Plugin\Context\InstallContext;
use Shopware\Components\Plugin\Context\UninstallContext;

class SizeSplitter extends Plugin {

	//Funktion zum Anhaengen an den Cronjob
	public static function getSubscribedEvents()
    {
        return [
            'Shopware_CronJob_SizeSplitter' => 'splitting'
        ];
    }
	
	//Funktion zur Installation, welche den Cronjob startet
	public function install() {
		
        $this->registerCronJobs();

        return array('success' => true, 'invalidateCache' => array('frontend'));
    }

```

&nbsp;

![Crying](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/3d74433e0d4d6cb84e92906c2faceb6b50db91bf.png "Crying")
