DriverException
An exception occurred while executing 'SELECT w0_.foreign_id AS foreign_id_0, MATCH(w0_.content) AGAINST (?) AS sclr_1 FROM whatwedo_search_index w0_ WHERE MATCH(w0_.content) AGAINST (?) > 0 OR w0_.content LIKE ? GROUP BY w0_.foreign_id ORDER BY sclr_1 DESC' with params ["test", "test", "%test%"]:
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'pm.w0_.content' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
in AbstractMySQLDriver.php line 106
--
at AbstractMySQLDriver->convertException('An exception occurred while executing \'SELECT w0_.foreign_id AS foreign_id_0, MATCH(w0_.content) AGAINST (?) AS sclr_1 FROM whatwedo_search_index w0_ WHERE MATCH(w0_.content) AGAINST (?) > 0 OR w0_.content LIKE ? GROUP BY w0_.foreign_id ORDER BY sclr_1 DESC\' with params ["test", "test", "%test%"]:SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column \'pm.w0_.content\' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by', object(PDOException))in DBALException.php line 166
at DBALException::wrapException(object(Driver), object(PDOException), 'An exception occurred while executing \'SELECT w0_.foreign_id AS foreign_id_0, MATCH(w0_.content) AGAINST (?) AS sclr_1 FROM whatwedo_search_index w0_ WHERE MATCH(w0_.content) AGAINST (?) > 0 OR w0_.content LIKE ? GROUP BY w0_.foreign_id ORDER BY sclr_1 DESC\' with params ["test", "test", "%test%"]:SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column \'pm.w0_.content\' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by')in DBALException.php line 146
at DBALException::driverExceptionDuringQuery(object(Driver), object(PDOException), 'SELECT w0_.foreign_id AS foreign_id_0, MATCH(w0_.content) AGAINST (?) AS sclr_1 FROM whatwedo_search_index w0_ WHERE MATCH(w0_.content) AGAINST (?) > 0 OR w0_.content LIKE ? GROUP BY w0_.foreign_id ORDER BY sclr_1 DESC', array('test', 'test', '%test%'))in Connection.php line 902
at Connection->executeQuery('SELECT w0_.foreign_id AS foreign_id_0, MATCH(w0_.content) AGAINST (?) AS sclr_1 FROM whatwedo_search_index w0_ WHERE MATCH(w0_.content) AGAINST (?) > 0 OR w0_.content LIKE ? GROUP BY w0_.foreign_id ORDER BY sclr_1 DESC', array('test', 'test', '%test%'),array(2, 2, 2), null)in SingleSelectExecutor.php line 50
at SingleSelectExecutor->execute(object(Connection), array('test', 'test', '%test%'), array(2, 2, 2))in Query.php line 334
at Query->_doExecute()in AbstractQuery.php line 967
at AbstractQuery->executeIgnoreQueryCache(null, 3)in AbstractQuery.php line 922
at AbstractQuery->execute(null, 3)in AbstractQuery.php line 750
at AbstractQuery->getScalarResult()in IndexRepository.php line 68
at IndexRepository->search('test')in SearchController.php line 38