( ! ) Fatal error: Uncaught exception 'PDOException' with message '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 'AND hidden_profile = 0 FROM profiles.user_data WHERE reg_date > UNIX_TIMESTAMP(' at line 1' in /var/www/best-couple/vendors/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 47
( ! ) 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 'AND hidden_profile = 0 FROM profiles.user_data WHERE reg_date > UNIX_TIMESTAMP(' at line 1 in /var/www/best-couple/vendors/doctrine/dbal/lib/Doctrine/DBAL/Connection.php on line 646
Call Stack
#TimeMemoryFunctionLocation
10.0001245544{main}( ).../index.php:0
20.04064722072afw\Application->run( ).../index.php:16
30.04064723296afw\Front->dispatch( ).../Application.php:346
40.14097802712afw\Controller->action( ).../Front.php:234
50.14107803176userController->searchesAction( ).../Controller.php:87
60.14127820168App\Service\SrvProfileSearch->getList( ).../userController.php:804
70.14127821184App\Service\SrvProfileSearch->_getUsersList( ).../SrvProfileSearch.php:84
80.14328069760Doctrine\DBAL\Query\QueryBuilder->execute( ).../SrvProfileSearch.php:142
90.14338070912Doctrine\DBAL\Connection->executeQuery( ).../QueryBuilder.php:185
100.14458110432query ( ).../Connection.php:646
( ! ) Doctrine\DBAL\DBALException: An exception occurred while executing 'SELECT *, IF(reg_date > UNIX_TIMESTAMP() - 1209600, 1, 0) as is_new AND hidden_profile = 0 FROM profiles.user_data WHERE reg_date > UNIX_TIMESTAMP() - 1209600 AND gender = 'w' AND state in (2,3) AND reg_date < 1544170028 ORDER BY reg_date DESC LIMIT 10 OFFSET 0': 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 'AND hidden_profile = 0 FROM profiles.user_data WHERE reg_date > UNIX_TIMESTAMP(' at line 1 in /var/www/best-couple/vendors/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 47
Call Stack
#TimeMemoryFunctionLocation
10.0001245544{main}( ).../index.php:0
20.04064722072afw\Application->run( ).../index.php:16
30.04064723296afw\Front->dispatch( ).../Application.php:346
40.14097802712afw\Controller->action( ).../Front.php:234
50.14107803176userController->searchesAction( ).../Controller.php:87
60.14127820168App\Service\SrvProfileSearch->getList( ).../userController.php:804
70.14127821184App\Service\SrvProfileSearch->_getUsersList( ).../SrvProfileSearch.php:84
80.14328069760Doctrine\DBAL\Query\QueryBuilder->execute( ).../SrvProfileSearch.php:142
90.14338070912Doctrine\DBAL\Connection->executeQuery( ).../QueryBuilder.php:185