Home » Php » October cms, cant save model with empty values

October cms, cant save model with empty values

Posted by: admin September 25, 2018 Leave a comment

Questions:

I cretead model, with columns:

like4u_id, vtope_id, panel_id

I set these columns option – Nullable, but if i save model, i get error:

SQLSTATE[HY000]: General error: 1366 Incorrect integer value: ” for
column ‘like4u_id’ at row 1 (SQL: update
master_vars set updated_at = 2018-05-23
16:03:14, like4u_id = , vtope_id = where id = 328)

What is the problem? It’s field not required and column nullable..

Answers: