PHP script cannot connect to the database

oh it is almost impossible… I am not too good to update all sql queries there to comply with ‘only_full_group_by’

If you could tell me how to 100% disable ‘only_full_group_by’ in virtualmin+mysql8 I would be very grateful