Here's what i did using CFW 4.30 :
1.Install Multiman, will serve as FTP server and file manager
2.Login to PSN, and sync your trophies
3.Create a new user account(on ps3 not psn)
4.Using FTP server go to hdd0/home/0000000X (your profile having error)
5.Rename the profile that is having the error to /0000000Y (Y being any number other than the two profiles there)
6.Turn off ps3
7.Enter the ps3 recovery menu and Rebuild the database
8.Activate game for the account, test dling/activating purchase game/dlc from PS Store
9.Login your spare user account you created earlier
10.With file manager, /hdd0/home/ (you will notice that there are now 3 accounts 0000000X(rebuilt database account),0000000Y(original renamed account with your files),000000Z(the spare account)
11.Copy savedata folder from hdd0/home/0000000Y (original renamed) to hdd0/home/0000000X (new rebuilt account)
12.Rebuild database again using recovery menu
13.Login with your account, check if game saves are there, even test loading a protected save game in-game to be sure ( Bayonetta for instance )
14.That's it, from now you can delete folder hdd0/home/0000000Y or keep it as a backup just in case, no rush there
Thank you Rogero



