While working on a PHP script I came accross a message which left me confused. I did no know what this means so I am seeking for your help to see if you have ran into the same issue as I have in the pas while coding with PHP. So the server I have is a windows machine and when I edited my code, the message that I got said: Cannot access self:: when no class scope is active in time.php on line 38

For some reason I get this error and don't know what to do. I some one can kindly help me I would appreacite it. This happened a long time ago. Most of the time I am cable to resolve the issues I get because you can find the answer anywhwere, but this message I cannot find any information.

Please send me the solution or guide me what I can do to help me resolve my problem with my PHP script. I fear that if no one helps me I will have to abandon this project and I cannot make the money to survive as I am currently working as a frelancer php developer.

Thank you all of you.