SELECT DISTINCT `id` as `hid`, `haendler`.*, (6368 * SQRT(2*(1-cos(RADIANS(haendler.lat)) * cos(0.68874532008051) * (sin(RADIANS(haendler.lng)) * sin(-1.3312882842022) + cos(RADIANS(haendler.lng)) * cos(-1.3312882842022)) - sin(RADIANS(haendler.lat)) * sin(0.68874532008051)))) AS `Distance` FROM `haendler` WHERE `id` IN () ORDER BY `Distance` ASC LIMIT 500
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 MariaDB server version for the right syntax to use near ') ORDER BY `Distance` ASC LIMIT 500' at line 5 in /var/www/vhosts/hera1.wogibtswas.net/httpdocs/actions/wogibts/angebot.php:268 Stack trace: #0 /var/www/vhosts/hera1.wogibtswas.net/httpdocs/actions/wogibts/angebot.php(268): PDO->query() #1 /var/www/vhosts/hera1.wogibtswas.net/httpdocs/requests/Actions.php(108): require('/var/www/vhosts...') #2 /var/www/vhosts/hera1.wogibtswas.net/httpdocs/system/BaseRequest.php(195): requests\Actions->wogibtscity() #3 /var/www/vhosts/hera1.wogibtswas.net/httpdocs/routing.php(56): system\BaseRequest->_handle() #4 /var/www/vhosts/hera1.wogibtswas.net/httpdocs/main.php(215): require('/var/www/vhosts...') #5 /var/www/vhosts/hera1.wogibtswas.net/httpdocs/dispatch.php(14): require_once('/var/www/vhosts...') #6 {main} thrown in /var/www/vhosts/hera1.wogibtswas.net/httpdocs/actions/wogibts/angebot.php on line 268