<p>This could be due to an issue with your project-config being out of sync somehow. You could try the new <code>./craft project-config/rebuild</code> console command <a href="https://github.com/craftcms/cms/blob/develop/CHANGELOG-v3.md#3120---2019-03-27" rel="nofollow noreferrer">that's just been added to Craft</a> and see if that gets you back on track.</p>

CC BY-SA 4.0
2019-03-29T18:47:37.513Z
2019-03-29T18:47:37.513Z
Oli
<p>When I go to control panel > Settings > Fields, I get a page that throws <code>TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given</code></p>

<p>This is identical to the issue described here: <a href="https://github.com/craftcms/cms/issues/3561" rel="nofollow noreferrer">https://github.com/craftcms/cms/issues/3561</a></p>

<p>Any ideas as to what might be causing this issue? </p>

<craft3><error-message>
TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given
# TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given

(Asked by: username_0 on 2019-03-29)

When I go to control panel > Settings > Fields, I get a page that throws `TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given`

This is identical to the issue described here: <https://github.com/craftcms/cms/issues/3561>

Any ideas as to what might be causing this issue?

**Tags:** craft3, error-message


---

## 1 answers

### Answer by username_1 on 2019-03-29. Score: 1

This could be due to an issue with your project-config being out of sync somehow. You could try the new `./craft project-config/rebuild` console command [that's just been added to Craft](https://github.com/craftcms/cms/blob/develop/CHANGELOG-v3.md#3120---2019-03-27) and see if that gets you back on track.


---

