Exception when miss custom datetime function in Doctrine