I have created a junction object called 'Test1__c' between Opportunity and Contact, soql query on Test1__c object return nothing and got below error. "System.QueryException: List has no rows for assignment to SObject". I have given read permissions to the Opportunity, Contact and Test1__C object on the Profile of the site guest user but the problem still persists. Also mark apex class as a 'Without Sharing'. On sharing setting module please the see the below setting:
I did all the possible ways that need to resolve this problem but no use. Please help me to resolve this issue, I would be so thankful!