Error
Error: E_USER_NOTICE
URL: https://mydate.com.pl/login
File: /home/server321176/ftp/mydate/_include/lib/db_common.php
Line: 49
Message: Can't execute query: Incorrect parameter count in the call to native function 'COS'
SELECT *, 7912 * ASIN(SQRT( POWER(SIN((29,6988201 - lat/10000000 ) * pi()/180 / 2), 2) + COS(29,6988201 * pi()/180) * COS(lat/10000000 * pi()/180) * POWER(SIN((-95,586792 - `long`/10000000) * pi()/180 / 2), 2) )) as distance FROM geo_city
WHERE hidden = 0 AND `lat` BETWEEN 282495447 AND 311480955
AND `long` BETWEEN -972552306 AND -939183534
ORDER by distance ASC LIMIT 1

Call stack:

File: /home/server321176/ftp/mydate/_include/lib/db_common.php (Line: 49)
Function: trigger_error

File: /home/server321176/ftp/mydate/_include/lib/db_mysqli.php (Line: 31)
Class: DB_Common
Function: triggerError

File: /home/server321176/ftp/mydate/_include/lib/db_common.php (Line: 287)
Class: DB
Function: driver_query

File: /home/server321176/ftp/mydate/_include/lib/db_common.php (Line: 326)
Class: DB_Common
Function: query

File: /home/server321176/ftp/mydate/_include/core/x.php (Line: 909)
Class: DB_Common
Function: row

File: /home/server321176/ftp/mydate/_include/core/x.php (Line: 844)
Class: IP
Function: geoInfoCityFindInRadius

File: /home/server321176/ftp/mydate/_include/core/x.php (Line: 1463)
Class: IP
Function: geoInfoCity

File: /home/server321176/ftp/mydate/_include/current/cjoinform.class.php (Line: 344)
Function: getDemoCapitalCountry

File: /home/server321176/ftp/mydate/_include/lib/block.php (Line: 304)
Class: CJoinForm
Function: parseBlock

File: /home/server321176/ftp/mydate/_include/lib/block.php (Line: 277)
Class: CHtmlBlock
Function: parse

File: /home/server321176/ftp/mydate/_include/core/main_close.php (Line: 19)
Class: CHtmlBlock
Function: parse

File: /home/server321176/ftp/mydate/join.php (Line: 68)
Function: include