Skip to content

Error when no user with ID #1 is in the database #3112

@evertalbers

Description

@evertalbers

Trying to solve another issue (which I don't exactly remember but might have been caused by persistent cookies in my browser actually) I deleted all users and then started fresh, using bin/console bolt:add-user. The new users had ID's starting from 5 or so.

After this, when trying to get a page listing in the Bolt Backend, this error was shown (below). The error was solved by going into the database and setting the ID of one user to 1 (I picked the user with a DEVELOPER role, not sure if that made any difference).
Screenshot 2022-03-06 at 21-41-22 An exception has been thrown during the rendering of a template ( Entity of type 'Bolt En

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions