# 500 error after deleting a sales channel

**URL:** <https://forum.shopware.com/t/500-error-after-deleting-a-sales-channel/69709>\
**Category:** Administration (EN)\
**Created:** [18. September 2020 um 15:26 UTC](https://forum.shopware.com/t/500-error-after-deleting-a-sales-channel/69709 "2020-09-18T15:26:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaul](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@chaul](https://forum.shopware.com/u/chaul)\
**Post date:** [18. September 2020 um 15:26 UTC](https://forum.shopware.com/t/500-error-after-deleting-a-sales-channel/69709/1 "2020-09-18T15:26:40Z")

</div>

Hi friends,

I created a theme plugin successfully then I added a sales channel to few products. After doing this I deleted that sales channel.

What happens that I am getting 500 error in storefront whereas backend is working perfectly.

In error log there is something related to cache and I cleared the cache and removed cache folder from server but still 500 error is coming.

Any idea, what is I am missing.&nbsp;

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Arendicom](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@Arendicom](https://forum.shopware.com/u/Arendicom)\
**Post date:** [28. Januar 2022 um 08:30 UTC](https://forum.shopware.com/t/500-error-after-deleting-a-sales-channel/69709/2 "2022-01-28T08:30:49Z")

</div>

Same for us, anybody an idea?

---

<div class="post-metadata">

**Author:** ![FSA](https://avatars.discourse-cdn.com/v4/letter/f/e9a140/32.png) [@FSA](https://forum.shopware.com/u/FSA)\
**Post date:** [29. Januar 2022 um 09:23 UTC](https://forum.shopware.com/t/500-error-after-deleting-a-sales-channel/69709/3 "2022-01-29T09:23:35Z")

</div>

most likely no saleschannel is defined for the shop/shopurl
