# The requested Profile (gid = 9 ) is disabled OR not set to be used

The requested Profile (gid = 9 ) is disabled OR not set to be used as 'overviews' OR the Profile with this ID does not exist OR you do not have access to this Profile. Contact the administrator for further assistance.

I get an error as given in title for when I enable contribution form for membership renewal with settings "On behalf of" tick marked and I get that only when I view it as anonymous,but when I view it as logged in user ,I don't get the error

• What version of CiviCRM are you using? – Pradeep Nayak Jan 24 '18 at 8:10

On the Contribution Page setup, below the checkbox to enable 'on behalf of' there is help text explaining that it uses the "On Behalf Of Organization" profile - unless you change it. You are seeing an error relating to profiles when you enable the section that says it uses a profile, so that is a good clue as to the cause of the problem.

Let's step through the various causes suggested in the error message:

1) Is Profile (gid=9) disabled?

Go to Administer > Custom Data and Screens > Profiles Click the Reserved Profiles tab. Id 9 is 'On Behalf of Organization' in a default config (4.7) which corresponds with the help text.
It is a reserved profile, so you don't have the option to disable it. This is not the cause of the problem.

2) Is Profile (gid=9) set to be used as 'overviews'?

This is not obvious as there is no setting described as 'overviews'. But since this is core behaviour and you can't change it, let's assume that is correct for now.

3) Does Profile (gid=9) exist?

Yes - we have just seen it in the listing. (Arguably this should be the first cause listed!)

Go to the Drupal People > Permissions page. In the CiviCRM section, look for settings relating to 'profiles' and see what permissions your anonymous users have. It is not always obvious which permissions are relevant but we are using the profile to enter new data rather than view data so 'profile create' looks likely.