1 year ago

Nova actionable_id cannot be null

Posted 1 year ago by agilasadi

Apparently none of my create functions is working, the all keep throwing:

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'actionable_id' cannot be null (SQL: insert into `action_events` (`batch_id`, `user_id`, `name`, `actionable_type`, `actionable_id`, `target_type`, `target_id`, `model_type`, `model_id`, `fields`, `status`, `exception`, `updated_at`, `created_at`) values (8db303d9-39ca-4858-8d59-30ec1cd51cb7, 1, Create, App\Models\Site, ?, App\Models\Site, ?, App\Models\Site, ?, , finished, , 2019-05-16 09:47:12, 2019-05-16 09:47:12))

Basically, it says 'actionable_id' can not be 'null'`.

Here is a sample of my table:






I generate guid with trait, but for the sake of making this work, I even tried it manually, no luck.

It works just fine when I create it with tinker.

Please sign in or create an account to participate in this conversation.