( ! ) Fatal error: Uncaught mysqli_sql_exception: 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 1 in /var/www/html/src/lgsl_class.php on line 512
( ! ) mysqli_sql_exception: 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 1 in /var/www/html/src/lgsl_class.php on line 512
Call Stack
#TimeMemoryFunctionLocation
10.0001355176{main}( ).../lgsl_zone.php:0
20.0006368576tltneon\LGSL\Server->queryCached( $request = 's' ).../lgsl_zone.php:33
30.0019411272tltneon\LGSL\Database->loadServer( $server = class tltneon\LGSL\Server { private $_base = ['id' => 0, 'ip' => NULL, 'c_port' => 0, 'q_port' => 0, 's_port' => 0, 'type' => NULL, 'status' => 0, 'pending' => 1]; private $_extra = []; private $_other = ['zone' => NULL, 'comment' => '', 'conn_tries' => 0, 'colored_name' => NULL]; private $_server = ['players' => 0, 'playersmax' => 0, 'name' => '--', 'game' => NULL, 'mode' => 'none', 'password' => 0, 'map' => 'World', 'cache_time' => class tltneon\LGSL\Timestamp { ... }]; private $_players = []; private $_history = [] } ).../lgsl_class.php:698
40.0019411328tltneon\LGSL\Database->query( $string = 'SELECT * FROM lgsl_db WHERE ', $single_result = TRUE, $mode = ??? ).../lgsl_class.php:368
50.0019411328tltneon\LGSL\MysqlWrapper->query( $string = 'SELECT * FROM lgsl_db WHERE ' ).../lgsl_class.php:332
60.0019411328query( $query = 'SELECT * FROM lgsl_db WHERE ' ).../lgsl_class.php:512

Fatal PHP error

Uncaught mysqli_sql_exception: 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 1 in /var/www/html/src/lgsl_class.php:512
Stack trace:
#0 /var/www/html/src/lgsl_class.php(512): mysqli->query('SELECT * FROM l...')
#1 /var/www/html/src/lgsl_class.php(332): tltneon\LGSL\MysqlWrapper->query('SELECT * FROM l...')
#2 /var/www/html/src/lgsl_class.php(368): tltneon\LGSL\Database->query('SELECT * FROM l...', true)
#3 /var/www/html/src/lgsl_class.php(698): tltneon\LGSL\Database->loadServer(Object(tltneon\LGSL\Server))
#4 /var/www/html/src/lgsl_zone.php(33): tltneon\LGSL\Server->queryCached('s')
#5 {main}
thrown