( ! ) Fatal error: Uncaught mysqli_sql_exception: 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 '( GeomFromText('POLYGON(())'), Point(Y, X) )' at line 2 in /var/www/_vega_sites/leaflet/geojson/geojson_wls_pdl_sp_current.php on line 18
( ! ) mysqli_sql_exception: 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 '( GeomFromText('POLYGON(())'), Point(Y, X) )' at line 2 in /var/www/_vega_sites/leaflet/geojson/geojson_wls_pdl_sp_current.php on line 18
Call Stack
#TimeMemoryFunctionLocation
10.0015377024{main}( ).../index.php:0
20.0030377816include( '/var/www/_vega_sites/leaflet/geojson/geojson_wls_pdl_sp_current.php ).../index.php:259
30.0050420192mysqli_query( $mysql = class mysqli { public $affected_rows = -1; public $client_info = 'mysqlnd 8.1.2-1ubuntu2.14'; public $client_version = 80102; public $connect_errno = 0; public $connect_error = NULL; public $errno = 1064; public $error = '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 \'(\r\n GeomFromText(\'POLYGON(())\'), Point(Y, X) )\' at line 2'; public $error_list = [0 => [...]]; public $field_count = 0; public $host_info = 'Localhost via UNIX socket'; public $info = NULL; public $insert_id = 0; public $server_info = '8.0.36-0ubuntu0.22.04.1'; public $server_version = 80036; public $sqlstate = '42000'; public $protocol_version = 10; public $thread_id = 14222; public $warning_count = 0 }, $query = 'SELECT * FROM WLS_PDL_SP WHERE LIC_STATUS = \'CURRENT\'\r\n AND Contains(\r\n GeomFromText(\'POLYGON(())\'), Point(Y, X) );\r\n' ).../geojson_wls_pdl_sp_current.php:18