500 error after deleting a sales channel

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. 

Thanks in advance.