Hello,
I’m getting an error when I save clients, can someone please help me?
I found this error.
[2023-11-13 12:28:51] production.ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘classification’ in ‘field list’ (Connection: mysql, SQL: insert into clients
(company_id
, user_id
, name
, website
, private_notes
, public_notes
, balance
, paid_to_date
, country_id
, is_deleted
, client_hash
, settings
, classification
, group_settings_id
, address1
, address2
, city
, state
, postal_code
, phone
, industry_id
, size_id
, vat_number
, id_number
, shipping_address1
, shipping_address2
, shipping_city
, shipping_state
, shipping_postal_code
, shipping_country_id
, custom_value1
, custom_value2
, custom_value3
, custom_value4
, routing_id
, is_tax_exempt
, assigned_user_id
, updated_at
, created_at
) values (1, 1, testing, ?, ?, ?, 0, 0, 826, 0, 5sfGodGwr4c1iT6C9vh6SUhPZWtmEIk1xvexWRIK, {“entity”:“App\Models\Client”,“industry_id”:“”,“size_id”:“”,“currency_id”:“2”}, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 0, ?, 2023-11-13 12:28:51.127229, 2023-11-13 12:28:51.127229)) {“userId”:1,“exception”:"[object] (Illuminate\Database\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘classification’ in ‘field list’ (Connection: mysql, SQL: insert into clients
(company_id
, user_id
, name
, website
, private_notes
, public_notes
, balance
, paid_to_date
, country_id
, is_deleted
, client_hash
, settings
, classification
, group_settings_id
, address1
, address2
, city
, state
, postal_code
, phone
, industry_id
, size_id
, vat_number
, id_number
, shipping_address1
, shipping_address2
, shipping_city
, shipping_state
, shipping_postal_code
, shipping_country_id
, custom_value1
, custom_value2
, custom_value3
, custom_value4
, routing_id
, is_tax_exempt
, assigned_user_id
, updated_at
, created_at
) values (1, 1, testing, ?, ?, ?, 0, 0, 826, 0, 5sfGodGwr4c1iT6C9vh6SUhPZWtmEIk1xvexWRIK, {"entity":"App\\Models\\Client","industry_id":"","size_id":"","currency_id":"2"}, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 0, ?, 2023-11-13 12:28:51.127229, 2023-11-13 12:28:51.127229)) at /home/invoice/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:822)