The issue may also occur in this way. For example, if you are changing database-related settings while working in the middleware or a similar component, and the necessary database settings are missing, it could cause the issue. Like a database key values will be set none.