TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given
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 and see if that gets you back on track.