Warning: A MySQL error occurred: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'advancedag.search_index.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

debug() output beginning:

Type: (string)
SELECT id FROM search_index WHERE website_id='2' AND ((keyword LIKE '%career%' OR keyword LIKE '%senior-software-engin%') OR page_title LIKE '% careers senior-software-engineer %') GROUP BY ref_url ORDER BY weight DESC

Ending script execution

Stack trace:
#0  debug() called at [/home/sites/advancedagrilytics.com/htdocs/inc/functions.inc.php:3651]
#1  query() called at [/home/sites/advancedagrilytics.com/htdocs/inc/functions.inc.php:3686]
#2  num_rows() called at [/home/sites/advancedagrilytics.com/htdocs/vx/inc/pagination.inc.php:14]
#3  include(/home/sites/advancedagrilytics.com/htdocs/vx/inc/pagination.inc.php) called at [/home/sites/advancedagrilytics.com/htdocs/inc/search.inc.php:163]
#4  require_once(/home/sites/advancedagrilytics.com/htdocs/inc/search.inc.php) called at [/home/sites/advancedagrilytics.com/htdocs/index.php:55]