GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced) (561251)

using UnityEngine;
using System.Collections.Generic;

public class NetworkManager : MonoBehaviour {

    public GameObject standbyCamera;
    SpawnSpot[] spawnSpots;

    public bool offlineMode = false;

    bool connecting = false;

    List<string> chatMessages;
    int maxChatMessages = 5;
  
    void Start () {
        spawnSpots = GameObject.FindObjectsOfType<SpawnSpot>();
        PhotonNetwork.player.name = PlayerPrefs.GetString ("Username", "Player");
        chatMessages = new List<string> ();
    }

    void OnDestroy(){
        PlayerPrefs.SetString ("Username", PhotonNetwork.player.name);
    }

    public void AddChatMessage(string m){
        GetComponent<PhotonView>().RPC ("AddChatMessage_RPC", PhotonTargets.All, m);
    }

    [RPC]
    void AddChatMessage_RPC(string m){
        while (chatMessages.Count >= maxChatMessages) {
            chatMessages.RemoveAt(0);
        }
        chatMessages.Add (m);
    }

    void Connect() {
        PhotonNetwork.ConnectUsingSettings ("Distructor 1.0");
    }
    
    void OnGUI() {
        GUILayout.Label( PhotonNetwork.connectionStateDetailed.ToString() );

        GUILayout.BeginArea (new Rect (0, 0, Screen.width, Screen.height));
        GUILayout.BeginHorizontal ();
        GUILayout.FlexibleSpace ();
        GUILayout.BeginVertical ();
        GUILayout.FlexibleSpace ();

        GUILayout.BeginHorizontal ();
        GUILayout.Label("Username: ");
        PhotonNetwork.player.name = GUILayout.TextField(PhotonNetwork.player.name);
        GUILayout.EndHorizontal ();


        if (PhotonNetwork.connected == false && connecting == false){
            if( GUILayout.Button("SinglePlayer") ) {
                connecting = true;
                PhotonNetwork.offlineMode = true;
                OnJoinedLobby();
            }
            if( GUILayout.Button("MultiPlayer") ) {
                connecting = true;
                Connect();
            }
            GUILayout.FlexibleSpace ();
            GUILayout.EndVertical ();
            GUILayout.FlexibleSpace ();
            GUILayout.EndHorizontal ();
            GUILayout.EndArea ();
        }

        if (PhotonNetwork.connected == true && connecting == false) {
            GUILayout.BeginArea (new Rect (0, 0, Screen.width, Screen.height));
            GUILayout.BeginVertical ();
            GUILayout.FlexibleSpace ();

            foreach(string msg in chatMessages){
                GUILayout.Label(msg);
            }

            GUILayout.EndVertical ();
            GUILayout.EndArea ();
        }
    }

    void OnJoinedLobby() {
        Debug.Log ("OnJoinedLobby");
        PhotonNetwork.JoinRandomRoom();
    }

    void OnPhotonRandomJoinFailed() {
        Debug.Log ("OnPhotonRandomJoinFailed");
        PhotonNetwork.CreateRoom( null );
    }

    void OnJoinedRoom() {
        Debug.Log ("OnJoinedRoom");

        SpawnMyPlayer();
        connecting = false;
    }

    void SpawnMyPlayer() {
        AddChatMessage ("Spawning player: " + PhotonNetwork.player.name);

        if(spawnSpots == null) {
            Debug.LogError ("WTF?!?!?");
            return;
        }

        SpawnSpot mySpawnSpot = spawnSpots[ Random.Range (0, spawnSpots.Length) ];
        GameObject myPlayerGO = (GameObject)PhotonNetwork.Instantiate("PlayerController", mySpawnSpot.transform.position, mySpawnSpot.transform.rotation, 0);
        standbyCamera.SetActive(false);

        //((MonoBehaviour)myPlayerGO.GetComponent("FPSInputController")).enabled = true;
        ((MonoBehaviour)myPlayerGO.GetComponent("MouseLook")).enabled = true;
        ((MonoBehaviour)myPlayerGO.GetComponent("PlayerMovement")).enabled = true;
        ((MonoBehaviour)myPlayerGO.GetComponent("PlayerShooting")).enabled = true;
        myPlayerGO.transform.FindChild("Main Camera").gameObject.SetActive(true);
    }
}

I think I have in this line the error, because in the error not say where is the error:

    void OnGUI() {
        GUILayout.Label( PhotonNetwork.connectionStateDetailed.ToString() );

        GUILayout.BeginArea (new Rect (0, 0, Screen.width, Screen.height));
        GUILayout.BeginHorizontal ();
        GUILayout.FlexibleSpace ();
        GUILayout.BeginVertical ();
        GUILayout.FlexibleSpace ();

        GUILayout.BeginHorizontal ();
        GUILayout.Label("Username: ");
        PhotonNetwork.player.name = GUILayout.TextField(PhotonNetwork.player.name);
        GUILayout.EndHorizontal ();


        if (PhotonNetwork.connected == false && connecting == false){
            if( GUILayout.Button("SinglePlayer") ) {
                connecting = true;
                PhotonNetwork.offlineMode = true;
                OnJoinedLobby();
            }
            if( GUILayout.Button("MultiPlayer") ) {
                connecting = true;
                Connect();
            }
            GUILayout.FlexibleSpace ();
            GUILayout.EndVertical ();
            GUILayout.FlexibleSpace ();
            GUILayout.EndHorizontal ();
            GUILayout.EndArea ();
        }

        if (PhotonNetwork.connected == true && connecting == false) {
            GUILayout.BeginArea (new Rect (0, 0, Screen.width, Screen.height));
            GUILayout.BeginVertical ();
            GUILayout.FlexibleSpace ();

            foreach(string msg in chatMessages){
                GUILayout.Label(msg);
            }

            GUILayout.EndVertical ();
            GUILayout.EndArea ();
        }
    }

Anyone help me please?!

You get that error when you do a begin horizontal/vertical/scrollview/group etc and dont have a matching End xxx
Although you DO have the End xxx in your script, they are wrapped in an if (), when the conditions dont match, the End xxx isnt called.

A half-hour bump isn’t called for

Thanks.