Fatal error: Uncaught mysqli_sql_exception: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'papyrus.p_book_master.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /var/www/papyruslibrary.com/test.php:266
Stack trace:
#0 /var/www/papyruslibrary.com/test.php(266): mysqli->prepare()
#1 {main}
thrown in /var/www/papyruslibrary.com/test.php on line 266