[2025-07-11 07:05:33] production.ERROR: CalendarRepository, get() [2025-07-11 07:05:33] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 08:13:14] production.ERROR: CalendarRepository, get() [2025-07-11 08:13:14] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 08:13:47] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-11 08:13:47] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 08:13:47] production.ERROR: Document type:47Internal number: 11673 [2025-07-11 08:17:19] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 08:17:19] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Рапица' to data type int. (SQL: update [state_form_244_grid_1570] set [ItemID] = Рапица, [is_changed] = 1, [updated_at] = 2025-07-11 08:17:19.056 where [id_user] = 87 and [internal_number] = 11673 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-11 08:17:19] production.ERROR: LINE: 760 [2025-07-11 08:17:19] production.ERROR: file_key Полето Първоначална локация натоварване е задължително да се попълни в редовете за транспорт!!! Прегледайте редовете за транспорт, попълнете полето за Първоначална локация натоварване и след това опитайте да запишете документа отново does not have a _ and cannot be translated! [2025-07-11 08:17:19] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-11 08:17:19] production.ERROR: Document type:47Internal number: 11673 [2025-07-11 08:17:19] production.ERROR: ApiController, respondConflict() [2025-07-11 08:17:21] production.ERROR: file_key Полето Първоначална локация натоварване е задължително да се попълни в редовете за транспорт!!! Прегледайте редовете за транспорт, попълнете полето за Първоначална локация натоварване и след това опитайте да запишете документа отново does not have a _ and cannot be translated! [2025-07-11 08:17:21] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-11 08:17:21] production.ERROR: Document type:47Internal number: 11673 [2025-07-11 08:17:21] production.ERROR: ApiController, respondConflict() [2025-07-11 08:17:28] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 08:17:28] production.ERROR: Document type:47Internal number: 11673 [2025-07-11 08:31:34] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'selected'. (SQL: update [cachereport71] set [selected] = 1 where [id] = 1189934 and [id_user] = 101) {"userId":101,"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S22): SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'selected'. (SQL: update [cachereport71] set [selected] = 1 where [id] = 1189934 and [id_user] = 101) at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(577): Illuminate\\Database\\Connection->run() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(510): Illuminate\\Database\\Connection->affectingStatement() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3357): Illuminate\\Database\\Connection->update() #4 /var/www/html/api/app/models/Repositories/Report/Type/ReportTable.php(961): Illuminate\\Database\\Query\\Builder->update() #5 /var/www/html/api/app/models/Repositories/Report/Type/ReportTable.php(924): App\\Models\\Repositories\\Report\\Type\\ReportTable->editReportRow() #6 /var/www/html/api/app/models/Repositories/Report/ReportRepository.php(1000): App\\Models\\Repositories\\Report\\Type\\ReportTable->changeReport() #7 /var/www/html/api/app/Http/Controllers/Reports/ReportController.php(237): App\\Models\\Repositories\\Report\\ReportRepository->changeReport() #8 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\Reports\\ReportController->change() #9 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #10 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #11 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #14 /var/www/html/api/app/Services/Acl/Acl.php(161): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): App\\Services\\Acl\\Acl->loadAcl() #16 /var/www/html/api/app/Http/Middleware/Acl.php(36): Illuminate\\Support\\Facades\\Facade::__callStatic() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Acl->handle() #18 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #20 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #22 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #24 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #26 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #28 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #30 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #43 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #45 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #47 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #49 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #51 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #55 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #56 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #57 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #58 {main} [previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'selected'. at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:570) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(570): PDOStatement->execute() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(577): Illuminate\\Database\\Connection->run() #4 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(510): Illuminate\\Database\\Connection->affectingStatement() #5 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3357): Illuminate\\Database\\Connection->update() #6 /var/www/html/api/app/models/Repositories/Report/Type/ReportTable.php(961): Illuminate\\Database\\Query\\Builder->update() #7 /var/www/html/api/app/models/Repositories/Report/Type/ReportTable.php(924): App\\Models\\Repositories\\Report\\Type\\ReportTable->editReportRow() #8 /var/www/html/api/app/models/Repositories/Report/ReportRepository.php(1000): App\\Models\\Repositories\\Report\\Type\\ReportTable->changeReport() #9 /var/www/html/api/app/Http/Controllers/Reports/ReportController.php(237): App\\Models\\Repositories\\Report\\ReportRepository->changeReport() #10 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\Reports\\ReportController->change() #11 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #14 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #16 /var/www/html/api/app/Services/Acl/Acl.php(161): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): App\\Services\\Acl\\Acl->loadAcl() #18 /var/www/html/api/app/Http/Middleware/Acl.php(36): Illuminate\\Support\\Facades\\Facade::__callStatic() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Acl->handle() #20 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #22 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #24 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #26 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #28 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #30 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #43 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #45 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #47 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #49 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #51 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #55 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #56 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #57 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #58 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #59 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #60 {main} "} [2025-07-11 08:31:34] production.ERROR: Exceptions: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'selected'. (SQL: update [cachereport71] set [selected] = 1 where [id] = 1189934 and [id_user] = 101) [2025-07-11 08:31:34] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-11 08:31:34] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-11 08:31:34] production.ERROR: Line: 760 [2025-07-11 08:48:19] production.ERROR: CalendarRepository, get() [2025-07-11 08:48:19] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 08:48:53] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-11 08:48:53] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 08:48:53] production.ERROR: Document type:52Internal number: 3826 [2025-07-11 08:52:28] production.ERROR: CalendarRepository, get() [2025-07-11 08:52:28] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 09:52:59] production.ERROR: CalendarRepository, get() [2025-07-11 09:52:59] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 10:14:06] production.ERROR: CalendarRepository, get() [2025-07-11 10:14:06] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 10:15:06] production.ERROR: CalendarRepository, get() [2025-07-11 10:15:06] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 10:34:43] production.ERROR: CalendarRepository, get() [2025-07-11 10:34:43] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 10:39:10] production.ERROR: file_key Не е избрана валута в някой от редовете на договора!!! Изберете валута и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-11 10:39:10] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-11 10:39:10] production.ERROR: Document type:47Internal number: 11675 [2025-07-11 10:39:10] production.ERROR: ApiController, respondConflict() [2025-07-11 10:39:12] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-11 10:39:12] production.ERROR: Document type:47Internal number: 11675 [2025-07-11 10:39:12] production.ERROR: ApiController, respondConflict() [2025-07-11 10:39:18] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 10:39:18] production.ERROR: Document type:47Internal number: 11675 [2025-07-11 10:57:15] production.ERROR: CalendarRepository, get() [2025-07-11 10:57:15] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 11:07:12] production.ERROR: CalendarRepository, get() [2025-07-11 11:07:12] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 11:09:07] production.ERROR: CalendarRepository, get() [2025-07-11 11:09:07] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 11:48:26] production.ERROR: CalendarRepository, get() [2025-07-11 11:48:26] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 11:49:26] production.ERROR: CalendarRepository, get() [2025-07-11 11:49:26] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 11:50:26] production.ERROR: CalendarRepository, get() [2025-07-11 11:50:26] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 11:53:21] production.ERROR: Error has occured in getLastSubGridRowId method() [2025-07-11 11:53:21] production.ERROR: ERROR: Trying to access array offset on value of type null [2025-07-11 11:53:22] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-11 11:53:22] production.ERROR: Document type: 47, Internal number: 11676 [2025-07-11 11:53:22] production.ERROR: Generated SQL was: [2025-07-11 11:53:22] production.ERROR: EXEC dbo.usp_ssSaveDocument '47' -- 1. @objectable_id = ID of document type sys_Doctype nomenclature ,'11676' -- 2. Internal_number ,'1' -- 3. Current language ,'109678' -- 4. ID of current company object ,'87' -- 5. ID of current system user [2025-07-11 11:53:22] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-11 11:53:22] production.ERROR: Document type: 47 Internal number: 11676 [2025-07-11 11:53:22] production.ERROR: {"Data":[{"Error":",SQL Msg: 515, Level 16, State 2, Proc usp_ssSaveDocument-0,1,2,3,4,(Line: 58),Cannot insert the value NULL into column 'id_sys_stitle', table 'Grain_Store_WEB.dbo.sys_srow'"},{"Error":" column does not allow nulls. UPDATE fails."}]} [2025-07-11 11:53:22] production.ERROR: ApiController, respondConflict() [2025-07-11 11:56:09] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) {"userId":87,"exception":"[object] (Illuminate\\Database\\QueryException(code: 22018): SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\\Database\\Connection->run() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\\Database\\Connection->select() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\\Database\\Query\\Builder->runSelect() #4 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #5 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\\Database\\Query\\Builder->onceWithColumns() #6 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\\Database\\Query\\Builder->get() #7 /var/www/html/api/app/models/Repositories/systemObject/systemObjectRepository.php(1165): Illuminate\\Database\\Query\\Builder->first() #8 /var/www/html/api/app/models/Repositories/Element/ElementRepository.php(200): App\\Models\\Repositories\\SystemObject\\SystemObjectRepository->checkObjectTypeByRefMapDynamicID() #9 /var/www/html/api/app/Http/Controllers/FormsController.php(113): App\\Models\\Repositories\\Element\\ElementRepository->updateElementCache() #10 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\FormsController->updateElementCache() #11 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #14 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #16 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #18 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #20 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #22 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #24 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #26 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #28 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #30 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #43 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #45 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #47 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #49 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #51 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #55 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #56 {main} [previous exception] [object] (PDOException(code: 22018): SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:419) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(419): PDOStatement->execute() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\\Database\\Connection->run() #4 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\\Database\\Connection->select() #5 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\\Database\\Query\\Builder->runSelect() #6 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #7 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\\Database\\Query\\Builder->onceWithColumns() #8 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\\Database\\Query\\Builder->get() #9 /var/www/html/api/app/models/Repositories/systemObject/systemObjectRepository.php(1165): Illuminate\\Database\\Query\\Builder->first() #10 /var/www/html/api/app/models/Repositories/Element/ElementRepository.php(200): App\\Models\\Repositories\\SystemObject\\SystemObjectRepository->checkObjectTypeByRefMapDynamicID() #11 /var/www/html/api/app/Http/Controllers/FormsController.php(113): App\\Models\\Repositories\\Element\\ElementRepository->updateElementCache() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\FormsController->updateElementCache() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #14 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #16 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #18 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #20 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #22 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #24 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #26 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #28 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #30 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #43 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #45 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #47 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #49 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #51 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #55 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #56 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #57 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #58 {main} "} [2025-07-11 11:56:09] production.ERROR: Exceptions: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) [2025-07-11 11:56:09] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-11 11:56:09] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-11 11:56:09] production.ERROR: Line: 760 [2025-07-11 11:56:48] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:56:48] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Слънчоглед' to data type int. (SQL: update [state_form_242_grid_1563] set [ItemID] = Слънчоглед, [is_changed] = 1, [updated_at] = 2025-07-11 11:56:48.092 where [id_user] = 87 and [internal_number] = 21939 and [rows_group] = 5 and [id_grid_row] = 6) [2025-07-11 11:56:48] production.ERROR: LINE: 760 [2025-07-11 11:56:48] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:56:48] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'КМ ТРАНС 2020 ООД' to data type int. (SQL: update [state_form_242_grid_1563] set [TransporterDirPro_n235] = КМ ТРАНС 2020 ООД, [is_changed] = 1, [updated_at] = 2025-07-11 11:56:48.273 where [id_user] = 87 and [internal_number] = 21939 and [rows_group] = 5 and [id_grid_row] = 6) [2025-07-11 11:56:48] production.ERROR: LINE: 760 [2025-07-11 11:56:48] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:56:48] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'с.Тенево' to data type int. (SQL: update [state_form_242_grid_1563] set [SourceTranspPoint_n22] = с.Тенево, [is_changed] = 1, [updated_at] = 2025-07-11 11:56:48.410 where [id_user] = 87 and [internal_number] = 21939 and [rows_group] = 5 and [id_grid_row] = 6) [2025-07-11 11:56:48] production.ERROR: LINE: 760 [2025-07-11 11:56:48] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:56:48] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Слънчоглед' to data type int. (SQL: update [state_form_242_grid_1563] set [ItemID] = Слънчоглед, [is_changed] = 1, [updated_at] = 2025-07-11 11:56:48.909 where [id_user] = 87 and [internal_number] = 21939 and [rows_group] = 5 and [id_grid_row] = 6) [2025-07-11 11:56:48] production.ERROR: LINE: 760 [2025-07-11 11:56:48] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:56:48] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'КМ ТРАНС 2020 ООД' to data type int. (SQL: update [state_form_242_grid_1563] set [TransporterDirPro_n235] = КМ ТРАНС 2020 ООД, [is_changed] = 1, [updated_at] = 2025-07-11 11:56:48.993 where [id_user] = 87 and [internal_number] = 21939 and [rows_group] = 5 and [id_grid_row] = 6) [2025-07-11 11:56:48] production.ERROR: LINE: 760 [2025-07-11 11:56:49] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:56:49] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'с.Тенево' to data type int. (SQL: update [state_form_242_grid_1563] set [SourceTranspPoint_n22] = с.Тенево, [is_changed] = 1, [updated_at] = 2025-07-11 11:56:49.104 where [id_user] = 87 and [internal_number] = 21939 and [rows_group] = 5 and [id_grid_row] = 6) [2025-07-11 11:56:49] production.ERROR: LINE: 760 [2025-07-11 11:57:25] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) {"userId":87,"exception":"[object] (Illuminate\\Database\\QueryException(code: 22018): SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\\Database\\Connection->run() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\\Database\\Connection->select() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\\Database\\Query\\Builder->runSelect() #4 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #5 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\\Database\\Query\\Builder->onceWithColumns() #6 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\\Database\\Query\\Builder->get() #7 /var/www/html/api/app/models/Repositories/systemObject/systemObjectRepository.php(1165): Illuminate\\Database\\Query\\Builder->first() #8 /var/www/html/api/app/models/Repositories/Element/ElementRepository.php(200): App\\Models\\Repositories\\SystemObject\\SystemObjectRepository->checkObjectTypeByRefMapDynamicID() #9 /var/www/html/api/app/Http/Controllers/FormsController.php(113): App\\Models\\Repositories\\Element\\ElementRepository->updateElementCache() #10 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\FormsController->updateElementCache() #11 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #14 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #16 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #18 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #20 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #22 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #24 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #26 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #28 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #30 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #43 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #45 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #47 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #49 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #51 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #55 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #56 {main} [previous exception] [object] (PDOException(code: 22018): SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:419) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(419): PDOStatement->execute() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\\Database\\Connection->run() #4 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\\Database\\Connection->select() #5 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\\Database\\Query\\Builder->runSelect() #6 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #7 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\\Database\\Query\\Builder->onceWithColumns() #8 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\\Database\\Query\\Builder->get() #9 /var/www/html/api/app/models/Repositories/systemObject/systemObjectRepository.php(1165): Illuminate\\Database\\Query\\Builder->first() #10 /var/www/html/api/app/models/Repositories/Element/ElementRepository.php(200): App\\Models\\Repositories\\SystemObject\\SystemObjectRepository->checkObjectTypeByRefMapDynamicID() #11 /var/www/html/api/app/Http/Controllers/FormsController.php(113): App\\Models\\Repositories\\Element\\ElementRepository->updateElementCache() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\FormsController->updateElementCache() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #14 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #16 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #18 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #20 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #22 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #24 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #26 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #28 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #30 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #43 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #45 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #47 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #49 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #51 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #55 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #56 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #57 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #58 {main} "} [2025-07-11 11:57:25] production.ERROR: Exceptions: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) [2025-07-11 11:57:25] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-11 11:57:25] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-11 11:57:25] production.ERROR: Line: 760 [2025-07-11 11:57:45] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:57:45] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Слънчоглед' to data type int. (SQL: update [state_form_242_grid_1563] set [ItemID] = Слънчоглед, [is_changed] = 1, [updated_at] = 2025-07-11 11:57:45.792 where [id_user] = 87 and [internal_number] = 21940 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:57:45] production.ERROR: LINE: 760 [2025-07-11 11:57:45] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:57:45] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'МЕДЖИК ФЛЕЙМ ЕООД' to data type int. (SQL: update [state_form_242_grid_1563] set [KontragentDirPro_n218] = МЕДЖИК ФЛЕЙМ ЕООД, [is_changed] = 1, [updated_at] = 2025-07-11 11:57:45.910 where [id_user] = 87 and [internal_number] = 21940 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:57:45] production.ERROR: LINE: 760 [2025-07-11 11:57:45] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:57:45] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'ЕВРОТРАНС ГРУП БЪЛГАРИЯ 22 ЕООД' to data type int. (SQL: update [state_form_242_grid_1563] set [TransporterDirPro_n235] = ЕВРОТРАНС ГРУП БЪЛГАРИЯ 22 ЕООД, [is_changed] = 1, [updated_at] = 2025-07-11 11:57:45.920 where [id_user] = 87 and [internal_number] = 21940 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:57:45] production.ERROR: LINE: 760 [2025-07-11 11:57:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:57:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'с.Рилци' to data type int. (SQL: update [state_form_242_grid_1563] set [PartnerTranspPoint_n22] = с.Рилци, [is_changed] = 1, [updated_at] = 2025-07-11 11:57:46.027 where [id_user] = 87 and [internal_number] = 21940 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:57:46] production.ERROR: LINE: 760 [2025-07-11 11:57:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:57:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'с.Тенево' to data type int. (SQL: update [state_form_242_grid_1563] set [SourceTranspPoint_n22] = с.Тенево, [is_changed] = 1, [updated_at] = 2025-07-11 11:57:46.066 where [id_user] = 87 and [internal_number] = 21940 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:57:46] production.ERROR: LINE: 760 [2025-07-11 11:58:24] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) {"userId":87,"exception":"[object] (Illuminate\\Database\\QueryException(code: 22018): SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\\Database\\Connection->run() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\\Database\\Connection->select() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\\Database\\Query\\Builder->runSelect() #4 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #5 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\\Database\\Query\\Builder->onceWithColumns() #6 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\\Database\\Query\\Builder->get() #7 /var/www/html/api/app/models/Repositories/systemObject/systemObjectRepository.php(1165): Illuminate\\Database\\Query\\Builder->first() #8 /var/www/html/api/app/models/Repositories/Element/ElementRepository.php(200): App\\Models\\Repositories\\SystemObject\\SystemObjectRepository->checkObjectTypeByRefMapDynamicID() #9 /var/www/html/api/app/Http/Controllers/FormsController.php(113): App\\Models\\Repositories\\Element\\ElementRepository->updateElementCache() #10 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\FormsController->updateElementCache() #11 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #14 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #16 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #18 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #20 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #22 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #24 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #26 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #28 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #30 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #43 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #45 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #47 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #49 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #51 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #55 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #56 {main} [previous exception] [object] (PDOException(code: 22018): SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. at /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php:419) [stacktrace] #0 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(419): PDOStatement->execute() #1 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}() #2 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback() #3 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php(422): Illuminate\\Database\\Connection->run() #4 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2706): Illuminate\\Database\\Connection->select() #5 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2694): Illuminate\\Database\\Query\\Builder->runSelect() #6 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3230): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #7 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2695): Illuminate\\Database\\Query\\Builder->onceWithColumns() #8 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\\Database\\Query\\Builder->get() #9 /var/www/html/api/app/models/Repositories/systemObject/systemObjectRepository.php(1165): Illuminate\\Database\\Query\\Builder->first() #10 /var/www/html/api/app/models/Repositories/Element/ElementRepository.php(200): App\\Models\\Repositories\\SystemObject\\SystemObjectRepository->checkObjectTypeByRefMapDynamicID() #11 /var/www/html/api/app/Http/Controllers/FormsController.php(113): App\\Models\\Repositories\\Element\\ElementRepository->updateElementCache() #12 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\\Http\\Controllers\\FormsController->updateElementCache() #13 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction() #14 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch() #15 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController() #16 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run() #17 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}() #18 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #19 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #20 /var/www/html/api/app/Http/Middleware/JWTResponse.php(32): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #21 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTResponse->handle() #22 /var/www/html/api/app/Http/Middleware/AfterResponseMiddleware.php(11): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #23 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterResponseMiddleware->handle() #24 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #25 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle() #26 /var/www/html/api/app/Http/Middleware/AfterMiddleware.php(17): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #27 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\AfterMiddleware->handle() #28 /var/www/html/api/app/Http/Middleware/UserActivity.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #29 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\UserActivity->handle() #30 /var/www/html/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #31 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle() #32 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #33 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle() #34 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #35 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle() #36 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #37 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle() #38 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #39 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then() #40 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack() #41 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute() #42 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute() #43 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch() #44 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}() #45 /var/www/html/api/app/Http/Middleware/JWTCheck.php(59): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #46 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\JWTCheck->handle() #47 /var/www/html/api/app/Http/Middleware/Cors.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #48 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\Cors->handle() #49 /var/www/html/api/app/Http/Middleware/BeforeMiddleware.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #50 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Http\\Middleware\\BeforeMiddleware->handle() #51 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #52 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest() #53 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle() #54 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}() #55 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then() #56 /var/www/html/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter() #57 /var/www/html/api/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle() #58 {main} "} [2025-07-11 11:58:24] production.ERROR: Exceptions: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'null' to data type int. (SQL: select distinct top 1 [so].[label], [oref].[objectable_id], [oref].[sys_systemObjects_id] as [sys_systemObjects_id], [e].[name] as [element_name], [t].[name] as [table_name] from [sys_systemObjects] as [so] inner join [sys_objectReference] as [oref] on [so].[id] = [oref].[sys_systemObjects_id] inner join [sys_referenceMap_dynamic] as [rmd] on [rmd].[sys_form_id] = [oref].[sys_form_id] inner join [sys_element] as [e] on [rmd].[sys_element_id] = [e].[id] inner join [sys_table] as [t] on [rmd].[sys_table_id] = [t].[id] where [rmd].[id] = null) [2025-07-11 11:58:24] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-11 11:58:24] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-11 11:58:24] production.ERROR: Line: 760 [2025-07-11 11:58:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:58:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Слънчоглед' to data type int. (SQL: update [state_form_242_grid_1563] set [ItemID] = Слънчоглед, [is_changed] = 1, [updated_at] = 2025-07-11 11:58:46.150 where [id_user] = 87 and [internal_number] = 21941 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:58:46] production.ERROR: LINE: 760 [2025-07-11 11:58:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:58:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'ЕВРОТРАНС ГРУП БЪЛГАРИЯ 22 ЕООД' to data type int. (SQL: update [state_form_242_grid_1563] set [TransporterDirPro_n235] = ЕВРОТРАНС ГРУП БЪЛГАРИЯ 22 ЕООД, [is_changed] = 1, [updated_at] = 2025-07-11 11:58:46.177 where [id_user] = 87 and [internal_number] = 21941 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:58:46] production.ERROR: LINE: 760 [2025-07-11 11:58:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:58:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'с.Рилци' to data type int. (SQL: update [state_form_242_grid_1563] set [PartnerTranspPoint_n22] = с.Рилци, [is_changed] = 1, [updated_at] = 2025-07-11 11:58:46.274 where [id_user] = 87 and [internal_number] = 21941 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:58:46] production.ERROR: LINE: 760 [2025-07-11 11:58:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:58:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'с.Тенево' to data type int. (SQL: update [state_form_242_grid_1563] set [SourceTranspPoint_n22] = с.Тенево, [is_changed] = 1, [updated_at] = 2025-07-11 11:58:46.283 where [id_user] = 87 and [internal_number] = 21941 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:58:46] production.ERROR: LINE: 760 [2025-07-11 11:58:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 11:58:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'МЕДЖИК ФЛЕЙМ ЕООД' to data type int. (SQL: update [state_form_242_grid_1563] set [KontragentDirPro_n218] = МЕДЖИК ФЛЕЙМ ЕООД, [is_changed] = 1, [updated_at] = 2025-07-11 11:58:46.314 where [id_user] = 87 and [internal_number] = 21941 and [rows_group] = 3 and [id_grid_row] = 3) [2025-07-11 11:58:46] production.ERROR: LINE: 760 [2025-07-11 12:25:22] production.ERROR: CalendarRepository, get() [2025-07-11 12:25:22] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 12:25:39] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-11 12:25:39] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 12:25:39] production.ERROR: Document type:47Internal number: 11677 [2025-07-11 12:27:11] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 12:27:11] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Ечемик' to data type int. (SQL: update [state_form_244_grid_1570] set [ItemID] = Ечемик, [is_changed] = 1, [updated_at] = 2025-07-11 12:27:11.006 where [id_user] = 150 and [internal_number] = 11677 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-11 12:27:11] production.ERROR: LINE: 760 [2025-07-11 12:27:12] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 12:27:12] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'id_grid_row'. (SQL: select top 1 1 [exists] from [state_form_244] where [id_grid_row] = 0 and [internal_number] = 11677 and [id_user] = 150) [2025-07-11 12:27:12] production.ERROR: LINE: 760 [2025-07-11 12:27:30] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-11 12:27:30] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 12:27:30] production.ERROR: Document type:47Internal number: 11678 [2025-07-11 12:30:55] production.ERROR: CalendarRepository, get() [2025-07-11 12:30:55] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 12:31:35] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-11 12:31:35] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 12:31:35] production.ERROR: Document type:52Internal number: 3827 [2025-07-11 12:32:12] production.ERROR: CalendarRepository, get() [2025-07-11 12:32:12] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 12:32:53] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 12:32:53] production.ERROR: Document type:52Internal number: 3828 [2025-07-11 12:33:27] production.ERROR: CalendarRepository, get() [2025-07-11 12:33:27] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 12:34:07] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 12:34:07] production.ERROR: Document type:52Internal number: 3829 [2025-07-11 12:34:44] production.ERROR: CalendarRepository, get() [2025-07-11 12:34:44] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 12:35:06] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 12:35:06] production.ERROR: Document type:52Internal number: 3830 [2025-07-11 12:53:14] production.ERROR: CalendarRepository, get() [2025-07-11 12:53:14] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 13:02:53] production.ERROR: CalendarRepository, get() [2025-07-11 13:02:53] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 13:13:14] production.ERROR: BaseRepository getAppVersion() [2025-07-11 13:13:14] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-11 13:13:18] production.ERROR: CalendarRepository, get() [2025-07-11 13:13:18] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 13:13:49] production.ERROR: BaseRepository getAppVersion() [2025-07-11 13:13:49] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-11 13:13:55] production.ERROR: BaseRepository getAppVersion() [2025-07-11 13:13:55] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-11 16:07:34] production.ERROR: CalendarRepository, get() [2025-07-11 16:07:34] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 16:07:46] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-11 16:07:46] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 16:07:46] production.ERROR: Document type:47Internal number: 11679 [2025-07-11 16:09:46] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 16:09:46] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Пшеница' to data type int. (SQL: update [state_form_244_grid_1570] set [ItemID] = Пшеница, [is_changed] = 1, [updated_at] = 2025-07-11 16:09:46.128 where [id_user] = 87 and [internal_number] = 11679 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-11 16:09:46] production.ERROR: LINE: 760 [2025-07-11 16:20:12] production.ERROR: CalendarRepository, get() [2025-07-11 16:20:12] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 16:20:41] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-11 16:20:41] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 16:20:41] production.ERROR: Document type:52Internal number: 3831 [2025-07-11 16:35:20] production.ERROR: CalendarRepository, get() [2025-07-11 16:35:20] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'calendar_start_date'. (SQL: select * from [sys_stitle] as [t] inner join [sys_stitle_54] as [tu] on [t].[id] = [tu].[id_sys_stitle] where [t].[id_doctype] = 54 and [t].[active] = 1 and [t].[is_deleted] = 0 and isnull(t.is_annul, 0) = 0 and [calendar_start_date] >= 2025-06-30 00:00:00.000 and [calendar_end_date] <= 2025-08-11 00:00:00.000) [2025-07-11 16:36:52] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-11 16:36:52] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-11 16:36:52] production.ERROR: Document type:51Internal number: 1049 [2025-07-11 16:38:20] production.ERROR: ElementRepository, updateElementCache() [2025-07-11 16:38:20] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'Пшеница' to data type int. (SQL: update [state_form_249_grid_1582] set [ItemID] = Пшеница, [is_changed] = 1, [updated_at] = 2025-07-11 16:38:20.383 where [id_user] = 150 and [internal_number] = 1049 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-11 16:38:20] production.ERROR: LINE: 760