Warning: Undefined variable $string in /var/www/html/player-matchup-select.php on line 92

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 5 in /var/www/html/api/objects/homePage.php:108 Stack trace: #0 /var/www/html/api/objects/homePage.php(108): PDOStatement->execute() #1 /var/www/html/player-matchup-select.php(92): trendingItems->playerNames(NULL) #2 {main} thrown in /var/www/html/api/objects/homePage.php on line 108