When I do "create" nothing happens

I create a CRUD. And when I fill out the form to make a "create", the form processes the data, but does not create or shows that error occurred while trying to create.

How do I find out where the error?

Hi,

In you app go to views/xxxx/_form.php and add the errorSummary:




    $form = ActiveForm::begin([

        'id' => 'my-form',

    ]);


    // ADD THIS ####################################

    echo $form->errorSummary($model);


    // ...

    echo $form->field($model, 'title');



Then you should see the error.

Alternative is to look in the logfiles at:

runtime/logs/

Regards

Exactly!

Thank you ;)