this variable "parent_id" is used in areas of workspaces assignment. The assignment is on the table "fo_sharing_table".
1. Test please first check all tables in the data base by, optimize, repair with phpMyAdmin
2. in FO go in admin area to workspaces and all workspaces check for assignment
Hope it helps you