mediaList __construct : Query was not successful : MySQL server has gone away