SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'title' cannot be null

To fix this error, you need to do some type of validation in your forms. This simply means that you are trying to enter some string that is empty into the database.

The submitted value or string does not have a value and the database requires a value, to over come this error, simply add some validation to your forms, either som front end or back end validation. You can use Laravel for example in your controller's method:

            //'title'=> ['required','min:3','max:255'],