Fatal error: Uncaught mysqli_sql_exception: Expression #1 of ORDER BY clause is not in SELECT list, references column 'secureds_onlineshopping.products.id' which is not in SELECT list; this is incompatible with DISTINCT in /home/securedse/public_html/portal/onlineshopping/index.php:241
Stack trace:
#0 /home/securedse/public_html/portal/onlineshopping/index.php(241): mysqli_query(Object(mysqli), 'select distinct...')
#1 {main}
thrown in /home/securedse/public_html/portal/onlineshopping/index.php on line 241