# Error after installation, shopware doesn't run

**URL:** <https://forum.shopware.com/t/error-after-installation-shopware-doesnt-run/52187>\
**Category:** International (English Only)\
**Tags:** general\
**Created:** [4. April 2018 um 21:05 UTC](https://forum.shopware.com/t/error-after-installation-shopware-doesnt-run/52187 "2018-04-04T21:05:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ademir](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@ademir](https://forum.shopware.com/u/ademir)\
**Post date:** [4. April 2018 um 21:05 UTC](https://forum.shopware.com/t/error-after-installation-shopware-doesnt-run/52187/1 "2018-04-04T21:05:48Z")

</div>

Hi folks!

Downloaded shopware from github, followed the installation instructions.

I first run the shop I get redirected to myhost.local/recovery/install and finish the process.

When I try to access shop’s frontend/backend all I got is:

_" **Fatal error** : Declaration of Shopware\Models\Menu\Repository::findOneBy(array $criteria) must be compatible with Doctrine\ORM\EntityRepository::findOneBy(array $criteria, ?array $orderBy = NULL) in **/Users/truads/www/shopware/engine/Shopware/Models/Menu/Repository.php** on line **60**"_

I tried installing 3 ways (from github, the installer, using composer) and for all oh them it fails to run.

I would appreciate any help.

Thanks!

&nbsp;

---

<div class="post-metadata">

**Author:** ![hsoebbing](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hsoebbing](https://forum.shopware.com/u/hsoebbing)\
**Post date:** [4. April 2018 um 22:46 UTC](https://forum.shopware.com/t/error-after-installation-shopware-doesnt-run/52187/2 "2018-04-04T22:46:58Z")

</div>

What PHP version and webserver are you using?

Also, what branch of Shopware are you on? There is no line 60 in that file in the current 5.4-branch:&nbsp;[shopware/Repository.php at 5.4 · shopware/shopware · GitHub](https://github.com/shopware/shopware/blob/5.4/engine/Shopware/Models/Menu/Repository.php)

---

<div class="post-metadata">

**Author:** ![ademir](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@ademir](https://forum.shopware.com/u/ademir)\
**Post date:** [5. April 2018 um 07:09 UTC](https://forum.shopware.com/t/error-after-installation-shopware-doesnt-run/52187/3 "2018-04-05T07:09:40Z")

</div>

I am using version 5.1.6 and php 7.2
