MySQL 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 mainpage=1' at line 1
/home/polyasinka.ru/web/polyasinka.ru/app/code/lib.php:3; in query:
SELECT * FROM site_structure WHERE site__ID= AND mainpage=1