# Erreur fatale : Uncaught TypeError : Valeur de retour de PackageVersions\\Installer::activate() doit

**URL:** https://forum.shopware.com/t/erreur-fatale-uncaught-typeerror-valeur-de-retour-de-packageversions-installer-activate-doit/59782
**Category:** Installation / Getting Started (EN)
**Created:** [29. Mai 2019 um 12:49 UTC](https://forum.shopware.com/t/erreur-fatale-uncaught-typeerror-valeur-de-retour-de-packageversions-installer-activate-doit/59782 "2019-05-29T12:49:37Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Misengo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/misengo/32/21446_2.png) [@Misengo](https://forum.shopware.com/u/Misengo)
#### Post date: [2. Juni 2019 um 11:44 UTC](https://forum.shopware.com/t/erreur-fatale-uncaught-typeerror-valeur-de-retour-de-packageversions-installer-activate-doit/59782/2 "2019-06-02T11:44:35Z")

</div>

@nightfox‍ this is an english forum, please translate it or write directly in english 😉

&nbsp;

> &nbsp;
> 
> Hi guys, I’m a little confused. I was trying to install shopware 6 in a test server by calling ./bin/setup. The server is a shared hosting server and the default php is v7.0. \*. So I run php from version 7.2 like this /usr/local/php7.2/bin/php bin / setup I think this will start the installation of the shopware using php v7.2 But I have an error. The message is as follows Fatal Error: Uncaught TypeError: PackageVersions \ Installer :: Return Value must be an instance of PackageVersions \ void, none are returned in path / shopware6 / development / vendor / ocramius / package-versions / src / PackageVersions /Installer.php:80 I did a little google, and I got an answer like that, „The problem here is that the PackageVersions plugin is installed in the project you have currently open (or as a global dependency somewhere), and you’re trying to run it against 7.0.“ is: [Error when using Composer 1.6.4 with PHP 7.0 · Issue #64 · Ocramius/PackageVersions · GitHub](https://github.com/Ocramius/PackageVersions/issues/64) I know that shopware6 needs php v7.2 +. But why does this situation occur? I could easily install sw6 in my local system without any problem. Thank you

You probably updated your repositories. Made the same mistake. run **composer update** in your development and platform repos.&nbsp;That should solve the requirement issue.

&nbsp;

---

_[View the full topic](https://forum.shopware.com/t/erreur-fatale-uncaught-typeerror-valeur-de-retour-de-packageversions-installer-activate-doit/59782)._
