# Dashboard "Bug" when changing display

**URL:** https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010
**Category:** Product Support
**Created:** [March 11, 2022, 3:03pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010 "2022-03-11T15:03:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![toby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/toby/32/6897_2.png) [@toby](https://forum.mautic.org/u/toby)
#### Post date: [March 11, 2022, 3:03pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/1 "2022-03-11T15:03:21Z")

</div>

**Your software**  
My Mautic version is: 4  
My PHP version is: 7.4.3  
My Database type and version is: 8.0.28-0ubuntu0.20.04.3

**Your problem**  
My problem is: I’ve tried to change from the default Dashboard reports to another pre-existing template. Now my Dashboard shows the “We’ve found a bug” error message and I can’t turn it back.

Any ideas?

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [March 11, 2022, 4:21pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/2 "2022-03-11T16:21:04Z")

</div>

Does anything shows in the log? Any error?

---

<div class="post-metadata">

### Author: ![toby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/toby/32/6897_2.png) [@toby](https://forum.mautic.org/u/toby)
#### Post date: [March 11, 2022, 4:39pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/3 "2022-03-11T16:39:40Z")

</div>

Does this mean anything?

```auto
[2022-03-11 16:37:03] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function createQueryBuilder() on null" at /xxxxxx/mautic/app/bundles/EmailBundle/Stats/Helper/FilterTrait.php line 31 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function createQueryBuilder() on null at /xxxxxx/mautic/app/bundles/EmailBundle/Stats/Helper/FilterTrait.php:31)"} []

```

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [March 11, 2022, 4:56pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/4 "2022-03-11T16:56:43Z")

</div>

You mentioned dashboard above but the error comes from email bundle. I am not so sure I can visualize a problem as well as I thought at first. Could you please provide some screenshots from the GUI (are we talking about widgets or reports - or maybe even something else).

At first glance nothing obvious comes to mind, so it might be a bug.

Thanks.

---

<div class="post-metadata">

### Author: ![toby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/toby/32/6897_2.png) [@toby](https://forum.mautic.org/u/toby)
#### Post date: [March 11, 2022, 5:13pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/5 "2022-03-11T17:13:52Z")

</div>

![Capture](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/edba73ee65c5acfb5a7f0c8679ad6c8f33e1895f.png)

Not a lot to say on that one if honest. It’s literally just the 500 Internal Server Error message.

---

<div class="post-metadata">

### Author: ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)
#### Post date: [March 11, 2022, 5:24pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/6 "2022-03-11T17:24:23Z")

</div>

What is the url? Steps to reproduce the issue? Thanks.

---

<div class="post-metadata">

### Author: ![toby](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/toby/32/6897_2.png) [@toby](https://forum.mautic.org/u/toby)
#### Post date: [March 15, 2022, 3:53pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/7 "2022-03-15T15:53:54Z")

</div>

apologies for the delay.

It’s literally [https://mautic.XXXX.com/s/dashboard](https://mautic.XXXX.com/s/dashboard)

---

<div class="post-metadata">

### Author: ![pierre\_a](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pierre_a/32/7031_2.png) [@pierre\_a](https://forum.mautic.org/u/pierre_a)
#### Post date: [March 15, 2022, 5:15pm UTC](https://forum.mautic.org/t/dashboard-bug-when-changing-display/23010/8 "2022-03-15T17:15:00Z")

</div>

Hello @toby,

Dou yo follow this steps : [Troubleshooting | Mautic](https://docs.mautic.org/en/troubleshooting)  
In particular this command ?

```auto
php bin/console cache:clear

```

Pierre
