I do not know what is this website but it is clearly written in old PHP versions.
In the newer PHP versions, you must declare every variable datatype and value upfront or you receive an "errors". In facts, this "errors" does not reflect the functionality but it is more likely a warning that something is wrong.
So to deal with this you have to downgrade to older PHP version, rewrite the code or set display_errors = OFF