function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
StarhunterStarhunter 

Getting the error "Invalid selectOptions found. Use SelectOption type in Apex."

I am working on an app and there are the following profiles and permission sets:
1. Profile TypeAlpha
2. Profile TypeBeta (This has two different permission sets: PermA and PermB)
On clicking on a tab, I am successfully able to jump to the expected page if I am logged in as TypeAlpha user or as PermA user in TypeBeta Profile. However on trying to click the tab when logged in as PermB user , I am getting the error 
Invalid selectOptions found. Use SelectOption type in Apex.
I understand the above issue may arise if <apex:selectoption is used in place of <apex:selectoptions. But i checked the code and it seems fine. Further how does the issue happen with one permission set and work fine with other.

 
Krishna SambarajuKrishna Sambaraju
How are you populating the select options on the visualforce page? Are you generating them in the Apex class, or do you use different Record Type for each of the profiles you mentioned. Can you share your apex class and vf page, so I can be able to help.

Regards,
Krishna.