In order to troubleshoot this error, kindly follow the below steps
- Check the Object access
- Check Field level security.
- Check whether the Visualforce page is exposed to the respective profile.
- Check whether the role is restricting from doing required operation on records.
- Make sure that the version settings of Visualforce page and its controller/extension are same.