X_STATE_UNDECLARED
Means
that column declares no state machine
Typical cause
transition() on a column with no .transitions() — a declaration bug and not a caller's, which is why cause lists the columns that DO declare one: the repair is naming a different column or writing the table, and both are edits to source. 500, the same shelf as X_SEARCH_UNDECLARED
Fix
add .transitions(…) to <entity>.<column> — it must be an enumerated() column, and every value that set declares needs an entry. When other columns already declare a machine, the fix lists those instead