Upgraded to MySQL 8 and now this statement causes the error:
SELECT t.*, stt.sortID FROM titles t INNER JOIN songlist_titles_tunes stt ON t.ID = stt.titl