# Fatal Error: TaxGateway.php on line 154

**URL:** https://forum.shopware.com/t/fatal-error-taxgateway-php-on-line-154/29850
**Category:** Administration
**Created:** [23. August 2015 um 02:22 UTC](https://forum.shopware.com/t/fatal-error-taxgateway-php-on-line-154/29850 "2015-08-23T02:22:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Elephant](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@Elephant](https://forum.shopware.com/u/Elephant)
#### Post date: [23. August 2015 um 02:22 UTC](https://forum.shopware.com/t/fatal-error-taxgateway-php-on-line-154/29850/1 "2015-08-23T02:22:20Z")

</div>

I got this Error while switching from Basket to Kasse: Fatal error: Call to a member function getId() on a non-object in /home/hedro9/public\_html/shopware/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/TaxGateway.php on line 154 503 Service Unavailable Can anyboy help me with a clue to solve it? Best regards Elephant

---

<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: [23. August 2015 um 11:38 UTC](https://forum.shopware.com/t/fatal-error-taxgateway-php-on-line-154/29850/2 "2015-08-23T11:38:33Z")

</div>

Hello, there seems to be a problem with the taxrates. Please check if the product has a valid tax rate. Moritz

---

<div class="post-metadata">

### Author: ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)
#### Post date: [23. August 2015 um 17:10 UTC](https://forum.shopware.com/t/fatal-error-taxgateway-php-on-line-154/29850/3 "2015-08-23T17:10:44Z")

</div>

Hi, in that line it accesses the ID of the customer group - the customer group seems to be NULL or another non-object in your case, which is wrong. Is something wrong with you customer group definitions of with the customer group which is assigned to the user you are testing with? Best regards, Daniel

---

<div class="post-metadata">

### Author: ![Elephant](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@Elephant](https://forum.shopware.com/u/Elephant)
#### Post date: [24. August 2015 um 16:18 UTC](https://forum.shopware.com/t/fatal-error-taxgateway-php-on-line-154/29850/4 "2015-08-24T16:18:33Z")

</div>

[quote=“Daniel Nögel”]Hi, in that line it accesses the ID of the customer group - the customer group seems to be NULL or another non-object in your case, which is wrong. Is something wrong with you customer group definitions of with the customer group which is assigned to the user you are testing with? Best regards, Daniel[/quote] Thank you Daniel I will try to check it. Greetings Elephant

---

<div class="post-metadata">

### Author: ![Elephant](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@Elephant](https://forum.shopware.com/u/Elephant)
#### Post date: [26. August 2015 um 15:40 UTC](https://forum.shopware.com/t/fatal-error-taxgateway-php-on-line-154/29850/5 "2015-08-26T15:40:05Z")

</div>

[quote=“Moritz Naczenski”]Hello, there seems to be a problem with the taxrates. Please check if the product has a valid tax rate. Moritz[/quote] Hello, after trying arround I have done a fresh installation. Thank you. Greetings Elephant
