callBackAfterUpload not launched

Hello,

It’s strange my callback after upload never launched, I receive my mail test_out but not test_in

is my code :

public function news()
    {
        $crud = $this->_getGroceryCrudEnterprise();

        // Configurer Grocery CRUD
        $crud->setTable('news');
        $crud->setSubject('News');
        $crud->displayAs('video', 'Vidéo');
       
        $crud->setTexteditor(['texte']);
        $crud->setTheme('bootstrap-v4');
        $crud->fieldType('la_date', 'date');
    
        
        $crud->requiredFields(['titre']);
        mail('nunenthal@creditup.fr','test_out','test_out');
     
        $crud->setFieldUpload('photo','assets/news/photos', base_url() . 'assets/news/photos/');
        $crud->callbackAfterUpload(function ($result) {
         mail('nunenthal@creditup.fr','test_in','test_in');
         return ($result);
        });
         // Afficher la liste des enregistrements
        $output = $crud->render();
        return $this->_superadmin_output($output);
   }