> For the complete documentation index, see [llms.txt](https://knowledge.themeware.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.themeware.design/knowledge-base/tutorials/debugging/debugging-error-messages.md).

# Debugging error messages

When Shopware is running in production mode, usually only general messages like "Theme could not be assigned to sales channel." are being displayed. Based on these general messages, it unfortunately is not possible to identify the cause of the error more precisely.

The first step in case of error messages in the administration is to receive a more detailed error message.

## Receiving more detailed error message

To receive a more detailed error message use one or both of the following options:

* Check your **PHP error log** for further information.
  * In case you don't know how to change the value, your hoster will certainly be happy to help you.
* Put Shopware (temporarily) into the **debug mode**.
  * Please find a guidance in the [Shopware Documentation](https://docs.shopware.com/en/en/shopware-6-en/tutorials-and-faq/debugging).

{% hint style="info" %}
**Note**: The article is part of our guided troubleshooting assistant and explains a specific step in this process.

In order to perform the corresponding steps in the correct order, please use the troubleshooting assistant.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledge.themeware.design/knowledge-base/tutorials/debugging/debugging-error-messages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
