not all code paths return a value

He I have just tried to code and I am running into a issue.

Assets/Side Button/Sliders.cs(25,21): error CS0161: `Sliders.button11()': not all code paths return a value

My code is as follows:

public bool button11(){
		personalprofile.SetActive (true);
		worked.SetActive (false);
		design.SetActive (false);
		producer.SetActive (false);
		developer.SetActive (false);
		aditionalinfo.SetActive (false);
	}

You’ve got your method to return a boolean value, and you don’t have a return statement. Change it to:

 public void button11(){
         personalprofile.SetActive (true);
         worked.SetActive (false);
         design.SetActive (false);
         producer.SetActive (false);
         developer.SetActive (false);
         aditionalinfo.SetActive (false);
     }