In method 'Peji\DB\pdoWrapper::exec' SQl : ' select * from movies WHERE 1 = 1 AND id in (select movieid from casts where castid = ? ) ORDER BY year DESC limit 0, 20' SQLSTATE[HY000]: General error: 2006 MySQL server has gone away