# Neuinstallation und Migration von 5.6. Frontend 500 internal error

**URL:** <https://forum.shopware.com/t/neuinstallation-und-migration-von-5-6-frontend-500-internal-error/71165>\
**Category:** Installation / Einstieg\
**Created:** [25. November 2020 um 16:49 UTC](https://forum.shopware.com/t/neuinstallation-und-migration-von-5-6-frontend-500-internal-error/71165 "2020-11-25T16:49:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mirabo](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Mirabo](https://forum.shopware.com/u/Mirabo)\
**Post date:** [25. November 2020 um 16:49 UTC](https://forum.shopware.com/t/neuinstallation-und-migration-von-5-6-frontend-500-internal-error/71165/1 "2020-11-25T16:49:44Z")

</div>

Hallo,

ich weiß nicht mehr weiter … scheinbar hat niemand sonst das Problem,daher muß es bei mir liegen. Ich weiß nur nicht wo…

Laut Logfiles gibt es diese Fehler

```
request.CRITICAL: Uncaught PHP Exception TypeError: "Argument 2 passed to Shopware\Core\Framework\Util\FloatComparator::lessThanOrEquals() must be of the type float, string given, called in /var/www/sw6/vendor/shopware/core/Checkout/Cart/Rule/CartWeightRule.php on line 65" at /var/www/sw6/vendor/shopware/core/Framework/Util/FloatComparator.php line 24 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Shopware\\Core\\Framework\\Util\\FloatComparator::lessThanOrEquals() must be of the type float, string given, called in /var/www/sw6/vendor/shopware/core/Checkout/Cart/Rule/CartWeightRule.php on line 65 at /var/www/sw6/vendor/shopware/core/Framework/Util/FloatComparator.php:24)"} []
[2020-11-25 16:40:05] php.CRITICAL: Uncaught Error: Argument 2 passed to Shopware\Core\Framework\Util\FloatComparator::lessThanOrEquals() must be of the type float, string given, called in /var/www/sw6/vendor/shopware/core/Checkout/Cart/Rule/CartWeightRule.php on line 65 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Shopware\\Core\\Framework\\Util\\FloatComparator::lessThanOrEquals() must be of the type float, string given, called in /var/www/sw6/vendor/shopware/core/Checkout/Cart/Rule/CartWeightRule.php on line 65 at /var/www/sw6/vendor/shopware/core/Framework/Util/FloatComparator.php:24)"} []

```

&nbsp;

Wechsel von PHP-Version, löschen aller Plugins … nichts hat geholfen.

Hat jemand eine idee?

Gemacht habe ich bisher “nichts”. Installation und Migration gemäß doku ist ohne Fehlermeldungen durchgelaufen. Rechte sind alle gesetzt.

Hilfe…

&nbsp;

Danke und viele Grüße

---

<div class="post-metadata">

**Author:** ![Mirabo](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Mirabo](https://forum.shopware.com/u/Mirabo)\
**Post date:** [26. November 2020 um 09:46 UTC](https://forum.shopware.com/t/neuinstallation-und-migration-von-5-6-frontend-500-internal-error/71165/2 "2020-11-26T09:46:53Z")

</div>

Hat sich erledigt. Wir werden Shopware 6 nicht einsetzen und nach etlichen Jahren fremdgehen.

---

<div class="post-metadata">

**Author:** ![ottscho](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@ottscho](https://forum.shopware.com/u/ottscho)\
**Post date:** [26. November 2020 um 09:52 UTC](https://forum.shopware.com/t/neuinstallation-und-migration-von-5-6-frontend-500-internal-error/71165/3 "2020-11-26T09:52:14Z")

</div>

Hallo Mirabo

Nach&nbsp;der Migration, warum auch immer, wird das CartWeight-Field in den rules als string übergeben. Hatte den selben Fehler.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/a/a6672b14d4886c68973c356b54483d3757a9d628.png)

&nbsp;

&nbsp;

Zur schnellen Problemlösung (als workaround) habe ich die&nbsp;entsprechende&nbsp;Datei dahin gehend angepasst, dass das zweite Argument in einen float konvertiert wird.

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/0c6989787fcb1c708a694ee442752c415d740658.png)

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/f/f7d90bc1d6f06043cd6322eb3c5c2c7975f28e75.png)Viele Grüße

Christian von Ottscho-IT

---

<div class="post-metadata">

**Author:** ![label\_unable](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@label\_unable](https://forum.shopware.com/u/label_unable)\
**Post date:** [27. November 2020 um 18:18 UTC](https://forum.shopware.com/t/neuinstallation-und-migration-von-5-6-frontend-500-internal-error/71165/4 "2020-11-27T18:18:13Z")

</div>

Besten Dank für den Fix. Die anderen Operatoren sind bei mir auch betroffen. Warum auch immer das Phänomen&nbsp;auf einmal auftrat, ich hatte davor die Daten schon ohne das Verhalten migriert.&nbsp;
