Error starting Ghost after upgrade from 2.38 to 3.22: Cannot read property 'toString' of undefined

Great thank you. I have updated the following issue as your case is very similar:

For now you have 2 options. As you’re not using members, you can remove the row as suggested in the issue above, and then try the upgrade.

Alternatively you can run ghost update 3.20.3 --force to upgrade to the previous version and then do the final upgrade once we fix the issue above.