Someone knows Laravel Voyager

0

I have a problem that I can not solve, does anyone know of Laravel an ADMIN named Voyager?

I have problems with relationships when editing form, which gives me an error and, as much as I've read in English, a lot of people do, but I can not find a solution.

The error.

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'idEstado' 
cannot be null (SQL: update 'Vivienda' set 'idEstado' = , 'updated_at' 
= 2018-12-21 20:54:39 where 'idVivienda' = 2)

More of the error:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'idEstado' 
cannot be null (23000)
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'idEstado' 
cannot be null (23000)

Code.

 catch (Exception $e) {
        throw new QueryException(
            $query, $this->prepareBindings($bindings), $e
        );
    }

    return $result;

** I can not give you more code, this is done all through that administration panel.

You can see this page:

link

It returns null, but it is assumed that in the relationship I ask you to insert the id to a name that takes out the name.

Thanks

    
asked by Miguel 21.12.2018 в 21:53
source

0 answers