Hallo zusammen,
nach dem Update eines webEdition Shops von WE 8 auf WE 9.1.6 ist ein Fehler aufgetreten, den ich bisher nicht lösen konnte. Ich hoffe, jemand von euch hat eine Idee.
Problem: shopVat für zu einer Exception
- Der Fehler tritt sowohl unter PHP 7.4 als auch unter PHP 8.1 auf.
- Shop-Kategorien sind deaktiviert.
- Eine Wiederholung des Updates hat das Problem nicht behoben.
Sowohl
<we:var type="shopVat" to="global" nameto="shopvat"/>
als auch
<we:shopVat to="global" nameto="shopvat" />
löst diesen Fehler aus
- Sobald ich das Tag lösche ist der Fehler weg
Fehlermeldung:
| Error type: | Exception |
| Error message: | we_shop_vat::__construct(): Argument #3 ($vat) must be of type float, string given, called in /usr/www/users/fuchprod/fuchsbriefe_dev/webEdition/we/classes/shop/we_shop_vats.class.php on line 85 |
| Script name: | SECURITY_REPL_DOC_ROOT/webEdition/we/classes/shop/we_shop_vat.class.php |
| Line number: | 65 |
Hat jemand eine Idee, wie sich das Problem beheben lässt?
Viele Grüße
Max