I tried to run a website code that uses the Youtube API PHP library, but even though the server that I tried to run the code on is using PHP 7.3.3(which, google says is compatible) it's giving me an error that I say that I need to use PHP 8.1.0 or higher, and I can't use a newer version because the website that I trying to develop is using PHP 7.3.3.
I tried to search for a solution to his problem, but I couldn't find i solution to this problem.
btw, I'm using composer, is that could be the problem?