Fatal error: Uncaught mysqli_sql_exception: Expression #9 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'egss_main.d2.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /home/egss/public_html/categories.php:12
Stack trace:
#0 /home/egss/public_html/categories.php(12): mysqli->query('SELECT *,d1.tit...')
#1 {main}
thrown in /home/egss/public_html/categories.php on line 12