error in updating sun direction

please can anyone help me in this problem, I want to apply day night cycle, and when I update sun direction I got this error.

Thank you,

i think u havent attached the direction light to the sky sphere!92cf9efc84a181edce2886df39a5a6cb4ff903b6.jpeg

Ooh, thank you very much :o