PHP Parse error: syntax error, unexpected '{'

My software is working fine on localhost, but when i shift my files to my hosting server, it is giving following error:PHP Parse error: syntax error, unexpected ‘{’, expecting identifier (T_STRING) in /home1/…/public_html/…/index.php on line 4and the line 4 is:use PHPMaker2021\pos{UserProfile, Language, AdvancedSecurity, Timer, HttpErrorHandler};is there any solution to this error ?

Make sure you use PHP 7.2 or newer, see system requirements: https://phpmaker.dev/download.php.