Notice: Undefined index: size in /home/u44381/ on line 46Notice: Undefined offset: 0 in /home/u44381/ on line 81
Fatal error: Uncaught exception 'Exception' with message 'Error: 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 'AND id_planet=1 ORDER BY `ks_zone`.`number`DESC LIMIT 0,1' at line 1<br />Error No: 1064<br />SELECT number FROM `ks_zone` WHERE id_sector= AND id_planet=1 ORDER BY `ks_zone`.`number`DESC LIMIT 0,1' in /home/u44381/ Stack trace: #0 /home/u44381/ DB\MySQLi->query('SELECT number F...', Array) #1 /home/u44381/ DB->query('SELECT number F...') #2 [internal function]: ModelUchastkiMap->GetRandomSector('1', NULL) #3 /home/u44381/ call_user_func_array(Array, Array) #4 [internal function]: Loader->{closure}(Array, Array) #5 /home/u44381/ call_user_func in /home/u44381/ on line 40