# Themes are broken

**URL:** <https://forum.mautic.org/t/themes-are-broken/23854>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [April 22, 2022, 5:16pm UTC](https://forum.mautic.org/t/themes-are-broken/23854 "2022-04-22T17:16:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![palarson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/palarson/32/511_2.png) [@palarson](https://forum.mautic.org/u/palarson)\
**Post date:** [April 22, 2022, 5:16pm UTC](https://forum.mautic.org/t/themes-are-broken/23854/1 "2022-04-22T17:16:27Z")

</div>

**Your software**  
My Mautic version is:4.2.0  
My PHP version is:7.4.28  
My Database type and version is:10.3.34-MariaDB

**Your problem**  
My problem is:tried to install a theme after editing the adding “builder”: [“grapesjsbuilder”] to config.json file and error 500 came up Uh oh! I think I broke it

These errors are showing in the log:mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Argument 1 passed to Mautic\CoreBundle\Helper\ThemeHelper::shouldLoadTheme() must be of the type array, null given, called in /opt/bitnami/mautic/app/bundles/CoreBundle/Helper/ThemeHelper.php on line 629” at /opt/bitnami/mautic/app/bundles/CoreBundle/Helper/ThemeHelper.php line 654 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 1 passed to Mautic\CoreBundle\Helper\ThemeHelper::shouldLoadTheme() must be of the type array, null given, called in /opt/bitnami/mautic/app/bundles/CoreBundle/Helper/ThemeHelper.php on line 629 at /opt/bitnami/mautic/app/bundles/CoreBundle/Helper/ThemeHelper.php:654)"}

Steps I have tried to fix the problem: Tried [your-mautic-url]/s/update/schema but that didn’t work

---

<div class="post-metadata">

**Author:** ![palarson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/palarson/32/511_2.png) [@palarson](https://forum.mautic.org/u/palarson)\
**Post date:** [April 26, 2022, 4:53pm UTC](https://forum.mautic.org/t/themes-are-broken/23854/2 "2022-04-26T16:53:57Z")

</div>

Update: I have also tried clearing the cache and Theme manager does not open. Nor can I edit any any components or assets that require any sort of theme even if none.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 26, 2022, 7:00pm UTC](https://forum.mautic.org/t/themes-are-broken/23854/3 "2022-04-26T19:00:38Z")

</div>

Sorry, just to be clear: themes were okay, until you added a new one / changed the config?  
What happens if you change it back?

---

<div class="post-metadata">

**Author:** ![palarson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/palarson/32/511_2.png) [@palarson](https://forum.mautic.org/u/palarson)\
**Post date:** [April 26, 2022, 8:06pm UTC](https://forum.mautic.org/t/themes-are-broken/23854/4 "2022-04-26T20:06:58Z")

</div>

doing that worked thanks.
