# Uuid::isValid() must be of the type string, bool given

**URL:** <https://forum.shopware.com/t/uuid-isvalid-must-be-of-the-type-string-bool-given/71405>\
**Category:** Themes & Design\
**Created:** [7. Dezember 2020 um 10:58 UTC](https://forum.shopware.com/t/uuid-isvalid-must-be-of-the-type-string-bool-given/71405 "2020-12-07T10:58:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucahollenbach](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@lucahollenbach](https://forum.shopware.com/u/lucahollenbach)\
**Post date:** [7. Dezember 2020 um 10:58 UTC](https://forum.shopware.com/t/uuid-isvalid-must-be-of-the-type-string-bool-given/71405/1 "2020-12-07T10:58:36Z")

</div>

Hallo zusammen,

bei theme:change bekomme ich im shopware 6 production template bei meinem Theme folgende Fehlermeldung:

**Argument 1 passed to Shopware\Core\Framework\Uuid\Uuid::isValid() must be of the type string, bool given, called in …/vendor/shopware/storefront/Theme/ThemeCompiler.php on line 265**

Im shopware 6 platform template hat bei der Entwicklung alles super funktioniert. Mit gehen langsam die Ideen aus, an was es liegen könnte. Mit der Erstellung eines skeleton theme mit theme:create auf dem Server und der anschließenden Zuweisug zur Storefront bekomme ich denselben Fehler…

Hat jemand eine Idee?

---

<div class="post-metadata">

**Author:** ![lucahollenbach](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@lucahollenbach](https://forum.shopware.com/u/lucahollenbach)\
**Post date:** [7. Dezember 2020 um 11:41 UTC](https://forum.shopware.com/t/uuid-isvalid-must-be-of-the-type-string-bool-given/71405/2 "2020-12-07T11:41:51Z")

</div>

Gelöst: Im&nbsp;theme.json config Objekt darf ein Field nur den value string bekommen. Dementsprechend ist ein boolean auch unzulässig.
