Extra Cast on Penelope

MySQL Error