There is obviously something wrong with the custom permissions. Perhaps it has something to do with:
Could you please provide the role / permissions you are using?