# Can't load Configuration Page after trying to add an IMAP account

**URL:** https://forum.mautic.org/t/cant-load-configuration-page-after-trying-to-add-an-imap-account/19131
**Category:** General Discussion
**Tags:** discussion
**Created:** [April 22, 2021, 5:04am UTC](https://forum.mautic.org/t/cant-load-configuration-page-after-trying-to-add-an-imap-account/19131 "2021-04-22T05:04:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wkhuynt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wkhuynt/32/535_2.png) [@wkhuynt](https://forum.mautic.org/u/wkhuynt)
#### Post date: [April 22, 2021, 5:04am UTC](https://forum.mautic.org/t/cant-load-configuration-page-after-trying-to-add-an-imap-account/19131/1 "2021-04-22T05:04:11Z")

</div>

Hi,

I got error messages:

mautic.WARNING: Command `doctrine:schema:validate` exited with status code 3

## and here is result of command: Mapping

[FAIL] The entity-class Mautic\DynamicContentBundle\Entity\DynamicContentLeadData mapping is invalid:

- The association Mautic\DynamicContentBundle\Entity\DynamicContentLeadData#dynamicContent refers to the inverse side field Mautic\DynamicContentBundle\Entity\DynamicContent#id which is not defined as association.
- The association Mautic\DynamicContentBundle\Entity\DynamicContentLeadData#dynamicContent refers to the inverse side field Mautic\DynamicContentBundle\Entity\DynamicContent#id which does not exist.

[FAIL] The entity-class Bazinga\OAuthServerBundle\Model\RequestToken mapping is invalid:

- The field ‘Bazinga\OAuthServerBundle\Model\RequestToken#expiresAt’ uses a non-existent type ‘int’.

[FAIL] The entity-class Bazinga\OAuthServerBundle\Model\AccessToken mapping is invalid:

- The field ‘Bazinga\OAuthServerBundle\Model\AccessToken#expiresAt’ uses a non-existent type ‘int’.

## Database

[ERROR] The database schema is not in sync with the current mapping file.

I’m using mautic v3.3.2, php 7.3, mysql.

How to fix this issue?

---

<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 22, 2021, 9:00am UTC](https://forum.mautic.org/t/cant-load-configuration-page-after-trying-to-add-an-imap-account/19131/2 "2021-04-22T09:00:15Z")

</div>

Can you check in /app/config/local.php if you mistyped something causing the crash?

---

<div class="post-metadata">

### Author: ![wkhuynt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wkhuynt/32/535_2.png) [@wkhuynt](https://forum.mautic.org/u/wkhuynt)
#### Post date: [April 22, 2021, 10:22am UTC](https://forum.mautic.org/t/cant-load-configuration-page-after-trying-to-add-an-imap-account/19131/3 "2021-04-22T10:22:01Z")

</div>

I removed the stuff that related to IMAP, configuration page was back, but the command bin/console doctrine:schema:validate returns the same result.

---

<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 22, 2021, 11:48am UTC](https://forum.mautic.org/t/cant-load-configuration-page-after-trying-to-add-an-imap-account/19131/4 "2021-04-22T11:48:46Z")

</div>

Maybe someone who names functions ‘Bazinga’ 🤣 should contribute here…
