SQLITE_READONLY[8]: Attempt to write a readonly database

When I logon to my restricted user account, sometimes an error window pops up showing the message:

Location: "CFPLogs::InsertLogToDatabase(FWLog * log)"
Error: "SQLITE_READONLY[8]: Attempt to write a readonly database"

I’m not sure what triggers this error, and I wonder why this doesn’t happen every time I login. Maybe it has something to do with the order in which user login (Admin first, restricted account afterwards etc.)? It never occurs when I login with admin rights.

Do I have to set certain rights for restricted users in the filesystem/registry?

[attachment deleted by admin]