# Fatal error: Call to a member function getId() on null in

**URL:** https://forum.shopware.com/t/fatal-error-call-to-a-member-function-getid-on-null-in/56629
**Category:** Allgemein
**Created:** [22. November 2018 um 14:02 UTC](https://forum.shopware.com/t/fatal-error-call-to-a-member-function-getid-on-null-in/56629 "2018-11-22T14:02:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![plasmatixx](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@plasmatixx](https://forum.shopware.com/u/plasmatixx)
#### Post date: [22. November 2018 um 14:02 UTC](https://forum.shopware.com/t/fatal-error-call-to-a-member-function-getid-on-null-in/56629/1 "2018-11-22T14:02:13Z")

</div>

Hallo zusammen,

ich verzweifle gerade. Ich erhalte folgende Fehlermeldung:

**Fatal error** : Call to a member function getId() on null in&nbsp; **/www/vh/medentis.de/www/ROOT/testshop/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/TaxGateway.php** &nbsp;on line&nbsp; **161**

**Wo könnte der Fehler liegen? Kan mir da evtl. jemend helfen? Könnte es irgendwie&nbsp;mit den Steuern zusammen zuhängen??**

**Über eine Hilfestellung würde ich mir sehr freuen:-)**

**Stefan**

---

<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: [22. November 2018 um 15:57 UTC](https://forum.shopware.com/t/fatal-error-call-to-a-member-function-getid-on-null-in/56629/2 "2018-11-22T15:57:51Z")

</div>

Wo bekommst du die Fehlermeldung denn?&nbsp;

Hast du mal ein Produkt im backend geöffnet und geschaut ob dort ein Steuersatz zugewiesen ist?&nbsp;

---

<div class="post-metadata">

### Author: ![plasmatixx](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@plasmatixx](https://forum.shopware.com/u/plasmatixx)
#### Post date: [23. November 2018 um 14:22 UTC](https://forum.shopware.com/t/fatal-error-call-to-a-member-function-getid-on-null-in/56629/3 "2018-11-23T14:22:06Z")

</div>

Hallo Moritz,

ja die Produkte sins alle einem Steuersatz zugeordnet. Was könnte es denn sonst sein?

---

<div class="post-metadata">

### Author: ![plasmatixx](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@plasmatixx](https://forum.shopware.com/u/plasmatixx)
#### Post date: [23. November 2018 um 14:32 UTC](https://forum.shopware.com/t/fatal-error-call-to-a-member-function-getid-on-null-in/56629/4 "2018-11-23T14:32:32Z")

</div>

Wenn ich folgenden Link eingebe&nbsp;[https://medentis.de/testshop/checkout/confirm](https://medentis.de/testshop/checkout/confirm) erscheint grundsätzlich die Fehlermeldung:
