Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'LIMIT 1' at line 1 in /var/www/driveroute/data/www/driveroute.ru/getData/lib/function.php:136
Stack trace:
#0 /var/www/driveroute/data/www/driveroute.ru/getData/lib/function.php(136): PDOStatement->execute()
#1 /var/www/driveroute/data/www/driveroute.ru/core/cache/includes/elements/modx/revolution/modsnippet/2.include.cache.php(89): findCoordinate('428', NULL)
#2 /var/www/driveroute/data/www/driveroute.ru/core/src/Revolution/modScript.php(88): include('/var/www/driver...')
#3 /var/www/driveroute/data/www/driveroute.ru/core/src/Revolution/modParser.php(505): MODX\Revolution\modScript->process(NULL)
#4 /var/www/driveroute/data/www/driveroute.ru/core/src/Revolution/modParser.php(218): MODX\Revolution\modParser->processTag(Array, true)
#5 /var/www/driveroute/data/www/driveroute.ru/core/src/Revolution/mo in /var/www/driveroute/data/www/driveroute.ru/getData/lib/function.php on line 136