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 '75 AND ph.space <=97,75 GROUP BY `user_id` ORDER BY RAND() LIMIT 20) AS tmp WHE' at line 1
Fatal error: Uncaught Error: Call to a member function fetch_field() on null in /home/lesstroy/www/lesstroy.oridis.ru/core/db.php:60
Stack trace:
#0 /home/lesstroy/www/lesstroy.oridis.ru/core/db.php(251): db->bindResult()
#1 /home/lesstroy/www/lesstroy.oridis.ru/models/project.php(1633): db->getRows('id')
#2 /home/lesstroy/www/lesstroy.oridis.ru/models/project.php(1500): project->getProjectsForOffers(17)
#3 /home/lesstroy/www/lesstroy.oridis.ru/controllers/pageController.php(3714): project->getAdsOffers()
#4 /home/lesstroy/www/lesstroy.oridis.ru/core.php(109): pageController->userProjectAction('17581', '62312')
#5 /home/lesstroy/www/lesstroy.oridis.ru/public/index.php(55): core->render()
#6 {main}
thrown in /home/lesstroy/www/lesstroy.oridis.ru/core/db.php on line 60