Fatal error: Uncaught exception 'Exception' with message 'SafeMySQL: 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. Full query: [SELECT t.name FROM tbl_type_lang t WHERE t.language = 'ru' AND t.type_id = ]' in /var/www/mega/data/www/mega-real.ru/frontend/classes/safemysql.class.php:585 Stack trace: #0 /var/www/mega/data/www/mega-real.ru/frontend/classes/safemysql.class.php(455): SafeMySQL->error('You have an err...') #1 /var/www/mega/data/www/mega-real.ru/frontend/classes/safemysql.class.php(194): SafeMySQL->rawQuery('SELECT t.name F...') #2 /var/www/mega/data/www/mega-real.ru/frontend/classes/functions.php(583): SafeMySQL->getOne('SELECT t.name F...') #3 /var/www/mega/data/www/mega-real.ru/frontend/classes/functions.php(570): functions->getPropTypeLink('2', NULL, NULL, '') #4 /var/www/mega/data/www/mega-real.ru/frontend/property/property_view.php(35): functions->getPropBreadCrumbLink('2', NULL, NULL, '') #5 /var/www/mega/ in /var/www/mega/data/www/mega-real.ru/frontend/classes/safemysql.class.php on line 585