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