[HELP] More errors when i buy from showroom


#1

Hello, i got more errors when i buy from showroom

[quote]Error running system event handling function for resource clothing: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:6: attempt to index a nil value (global ‘models’)
stack traceback:
server.lua:6: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
hitch warning: frame time of 204 milliseconds
[vRP/C#] query exception vRP/add_custom_vehicle : System.AggregateException: One or more errors occurred. —> MySql.Data.MySqlClient.MySqlException: Unknown column ‘vehicle_plate’ in ‘field list’
at MySql.Data.Serialization.PayloadData.ThrowIfError () [0x0001d] in :0
at MySql.Data.Serialization.MySqlSession.TryAsyncContinuation (System.Threading.Tasks.Task1[TResult] task) [0x00023] in <c9032194188746cfa5d8bb7625c7912b>:0 at (wrapper delegate-invoke) System.Func2[System.Threading.Tasks.Task1[System.ArraySegment1[System.Byte]],MySql.Data.Serialization.PayloadData].invoke_TResult_T(System.Threading.Tasks.Task1<System.ArraySegment1>)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <49fde7938a9b47b480042d844e818c7e>:0 --- End of stack trace from previous location where exception was thrown --- at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet (MySql.Data.MySqlClient.Results.ResultSet resultSet) [0x0000e] in <c9032194188746cfa5d8bb7625c7912b>:0 at MySql.Data.MySqlClient.MySqlDataReader+<ReadFirstResultSetAsync>d__64.MoveNext () [0x000b0] in <c9032194188746cfa5d8bb7625c7912b>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <49fde7938a9b47b480042d844e818c7e>:0 at MySql.Data.MySqlClient.MySqlDataReader+<CreateAsync>d__63.MoveNext () [0x0016e] in <c9032194188746cfa5d8bb7625c7912b>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <49fde7938a9b47b480042d844e818c7e>:0
at MySql.Data.MySqlClient.CommandExecutors.TextCommandExecutor+d__3.MoveNext () [0x001ea] in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <49fde7938a9b47b480042d844e818c7e>:0 at vRP.MySQL+<>c__DisplayClass11_2+<<e_query>b__0>d.MoveNext () [0x003e9] in <8dfc0861f4df44189d833de5e878b97b>:0 --- End of inner exception stack trace --- ---> (Inner Exception #0) MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'vehicle_plate' in 'field list' at MySql.Data.Serialization.PayloadData.ThrowIfError () [0x0001d] in <c9032194188746cfa5d8bb7625c7912b>:0 at MySql.Data.Serialization.MySqlSession.TryAsyncContinuation (System.Threading.Tasks.Task1[TResult] task) [0x00023] in :0
at (wrapper delegate-invoke) System.Func2[System.Threading.Tasks.Task1[System.ArraySegment1[System.Byte]],MySql.Data.Serialization.PayloadData].invoke_TResult_T(System.Threading.Tasks.Task1<System.ArraySegment1<byte>>) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Threading.Tasks.Task.Execute () [0x00010] in <49fde7938a9b47b480042d844e818c7e>:0
— End of stack trace from previous location where exception was thrown —
at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet (MySql.Data.MySqlClient.Results.ResultSet resultSet) [0x0000e] in :0
at MySql.Data.MySqlClient.MySqlDataReader+d__64.MoveNext () [0x000b0] in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <49fde7938a9b47b480042d844e818c7e>:0
at MySql.Data.MySqlClient.MySqlDataReader+d__63.MoveNext () [0x0016e] in :0
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <49fde7938a9b47b480042d844e818c7e>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <49fde7938a9b47b480042d844e818c7e>:0 at MySql.Data.MySqlClient.CommandExecutors.TextCommandExecutor+<ExecuteReaderAsync>d__3.MoveNext () [0x001ea] in <c9032194188746cfa5d8bb7625c7912b>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <49fde7938a9b47b480042d844e818c7e>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <49fde7938a9b47b480042d844e818c7e>:0
at vRP.MySQL+<>c__DisplayClass11_2+<<e_query>b__0>d.MoveNext () [0x003e9] in <8dfc0861f4df44189d833de5e878b97b>:0 <—

[vRP] task 42 failed.
[vRP] task 42 failed.
[vRP] task 42 failed.
[vRP] task 42 failed.[/quote]


#2

This says all you need to know. There’s no column named vehicle_plate in that table.