Software error:

SQL Syntax Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'linktomi_db.A.lnkid' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by - From: SELECT A.*, B.l1, B.l2, B.l3, B.l4, B.l5, B.l6, B.l7, B.l8, B.l9, B.l10, B.l11, B.l12, B.l13, B.l14, B.l15, B.l16, B.level
					  FROM links AS A, dirs AS B
					  (A.cid = B.cid) AND 
					  ((B.catlock != 'H') OR (B.catlock IS NULL)) AND 
					  ((newsubm = '') OR (newsubm IS NULL))
					  GROUP by A.title 
					  ORDER BY urldate DESC LIMIT 40
 at /usr/lib/x86_64-linux-gnu/perl5/5.30/ line 1007.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.