Warning: Undefined array key "uid" in /www/wwwroot/ptpedia.dyas.top/2/ptp2/connect.php on line 10

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in /www/wwwroot/ptpedia.dyas.top/2/ptp2/connect.php:127 Stack trace: #0 /www/wwwroot/ptpedia.dyas.top/2/ptp2/connect.php(127): mysqli->query() #1 /www/wwwroot/ptpedia.dyas.top/2/ptp2/connect.php(22): getpermissionbyuid() #2 /www/wwwroot/ptpedia.dyas.top/2/ptp2/gamesettings.php(14): require_once('...') #3 {main} thrown in /www/wwwroot/ptpedia.dyas.top/2/ptp2/connect.php on line 127