# SalesChannelContext::buildTaxRules()

**URL:** <https://forum.shopware.com/t/saleschannelcontext-buildtaxrules/67734>\
**Category:** Programmierung\
**Created:** [17. Juni 2020 um 13:12 UTC](https://forum.shopware.com/t/saleschannelcontext-buildtaxrules/67734 "2020-06-17T13:12:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AS\_Fabian](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@AS\_Fabian](https://forum.shopware.com/u/AS_Fabian)\
**Post date:** [17. Juni 2020 um 13:12 UTC](https://forum.shopware.com/t/saleschannelcontext-buildtaxrules/67734/1 "2020-06-17T13:12:13Z")

</div>

Plötzlich bekommen wir folgende Fehlermeldung angezeigt:

php.CRITICAL: Uncaught Error: Argument 1 passed to Shopware\Core\System\SalesChannel\SalesChannelContext::buildTaxRules() must be of the type string, null given, called in /var/www/share/shopware/vendor/shopware/core/Content/Product/SalesChannel/Price/ProductPriceDefinitionBuilder.php on line 79 {“exception”:"[object] (TypeError(code: 0): Argument 1 passed to Shopware\Core\System\SalesChannel\SalesChannelContext::buildTaxRules() must be of the type string, null given

Weiß jemand was es damit aufsich hat?

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [17. Juni 2020 um 13:17 UTC](https://forum.shopware.com/t/saleschannelcontext-buildtaxrules/67734/2 "2020-06-17T13:17:50Z")

</div>

Hast du irgendwas an den Steuern verändert=?

---

<div class="post-metadata">

**Author:** ![AS\_Fabian](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@AS\_Fabian](https://forum.shopware.com/u/AS_Fabian)\
**Post date:** [17. Juni 2020 um 13:24 UTC](https://forum.shopware.com/t/saleschannelcontext-buildtaxrules/67734/3 "2020-06-17T13:24:36Z")

</div>

Japp.

Oh man. danke
