[C#][2D]Cannot implicitly convert type `Player[]' to "Player"

Long story short, need a groundchecking script that changes the value of grounded to true when he is, well, on the ground, colliding, you get the point.
Soo I was thinking this script would work, but I get this error
Assets/scripts/Groundcheckingfix.cs(10,17): error CS0029: Cannot implicitly convert type Player[ ]' to Player’

Groundchecking script (My other script is called “Player” in which i have all of my movement and jumping shenanigans)

using UnityEngine;
using System.Collections;

public class Groundcheckingfix : MonoBehaviour {

    private Player Myplayer;

    void start()
    {
        Myplayer = gameObject.GetComponentsInParent<Player> ();
    }
   
    void OnTriggerEnter2D(Collider2D col)
    {
        Myplayer.Grounded = true;
    }

    void OnTriggerStay2D(Collider2D col)
    {
        Myplayer.Grounded = true;
    }

    void OnTriggerExit2D(Collider2D col)
    {
        Myplayer.Grounded = false;
    }
}

GetComponentsXXX returns an array. You need to provide an index. If there will only be one player component on the parent use

GetComponentsInParent<Player>()[0];

Else use GetComponentInParent() which returns a single object and not an array.

Thank you, it works, kinda.You see im still kinda new to unity and I ussualy fix most (not all)on my own(mostly beacuse the error even say what you have to do, and I just get the same ones over and over again)and if I dont know what to do google or this forum helps.
Now, my brain doesnt work anymore, google doesnt help either do you maybe know how to fix these errors?

NullReferenceException: Object reference not set to an instance of an object
Groundcheckingfix.OnTriggerEnter2D (UnityEngine.Collider2D col) (at Assets/scripts/Groundcheckingfix.cs:15)

NullReferenceException: Object reference not set to an instance of an object
Groundcheckingfix.OnTriggerStay2D (UnityEngine.Collider2D col) (at Assets/scripts/Groundcheckingfix.cs:20)

NullReferenceException: Object reference not set to an instance of an object
Groundcheckingfix.OnTriggerExit2D (UnityEngine.Collider2D col) (at Assets/scripts/Groundcheckingfix.cs:25)

There errors came after adding [0] and trying to play it

Null reference errors almost always mean something before a dot is null. So get your Debug.Log out and find out which thing before the dot on the error line is null.

Then find out why it’s null and fix it. Sometimes hard to do. But finding and fixing your own null references is one of the great milestones that indicate you are now ‘not a noob’.

Do you know any videos or explanations on how to fix null reference errors?Beacuse what you said kinda confused me,and I dont know where I should start or how the fix should be.Even If I find where it is how should I know why it is null?Or If you dont have any video explanations could you try to explain it to me on the simplest way possible?

A null ref means something your trying to access is not assigned a value, so if you did something like private MyAwesomeScript myAwesomeScript; then did someValue = myAwesomeScript.SomeValue; without assigning it, you get a null reference. It’s worth it to learn how to get to the bottom of these types of errors without intervention from the forums or answers cuz your gonna get a lot of them!

Use:
Myplayer = gameObject.GetComponentInParent ();
insteed of:
Myplayer = gameObject.GetComponentsInParent ();