ERROR Section->find_by_path("/scborets/press-center/")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 'AND type=1 AND code='pressa' LIMIT 1' at line 1 в запросе SELECT * FROM structure WHERE upper_id= AND type=1 AND code='pressa' LIMIT 1