[2025-07-08 09:57:32] production.ERROR: BaseRepository getAppVersion() [2025-07-08 09:57:32] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 09:58:16] production.ERROR: array ( 'data' => array ( 'jwt_token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJ5YW1ib2wudHJhZGVAZ3JhaW5zdG9yZS5ldSIsInN1YiI6IkFQSSIsImRhdGFiYXNlIjoiR3JhaW5fU3RvcmVfV0VCIiwiZXhwIjoxNzUxOTYwODA4LjM5MDA3N30.1IRayA-tIp0v6ButZTYAwgM66IBAoY_vVSV6WcvkfNY', ), ) [2025-07-08 09:58:18] production.ERROR: Exceptions: The POST method is not supported for route api/v1/registrationFlag. Supported methods: GET, HEAD. [2025-07-08 09:58:18] production.ERROR: Exceptions Class: Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException [2025-07-08 09:58:18] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php [2025-07-08 09:58:18] production.ERROR: Line: 122 [2025-07-08 09:59:38] production.ERROR: CalendarRepository, get() [2025-07-08 09:59:38] 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-08 10:00:33] production.ERROR: CalendarRepository, get() [2025-07-08 10:00: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-08 10:00:59] production.ERROR: CalendarRepository, get() [2025-07-08 10:00: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-08 10:01:35] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 10:01:35] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 10:01:35] production.ERROR: Document type:52Internal number: 3809 [2025-07-08 10:01:35] 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-08 10:01:35] 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-08 10:01:35] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 10:01:35] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 10:01:35] production.ERROR: Line: 760 [2025-07-08 10:03:13] production.ERROR: CalendarRepository, get() [2025-07-08 10:03:13] 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-08 10:03:44] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 10:03:44] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 10:03:44] production.ERROR: Document type:52Internal number: 3810 [2025-07-08 10:03:45] 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-08 10:03:45] 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-08 10:03:45] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 10:03:45] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 10:03:45] production.ERROR: Line: 760 [2025-07-08 10:05:05] production.ERROR: CalendarRepository, get() [2025-07-08 10:05:05] 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-08 10:05:46] production.ERROR: CalendarRepository, get() [2025-07-08 10:05:46] 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-08 10:06:16] 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-08 10:06:16] 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-08 10:06:16] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 10:06:16] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 10:06:16] production.ERROR: Line: 760 [2025-07-08 10:06:16] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 10:06:16] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 10:06:16] production.ERROR: Document type:52Internal number: 3811 [2025-07-08 10:07:27] production.ERROR: BaseRepository getAppVersion() [2025-07-08 10:07:27] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 10:07:28] production.ERROR: BaseRepository getAppVersion() [2025-07-08 10:07:28] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 10:07:31] production.ERROR: CalendarRepository, get() [2025-07-08 10:07:31] 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-08 10:08:32] production.ERROR: CalendarRepository, get() [2025-07-08 10:08:32] 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-08 10:08:51] production.ERROR: BaseRepository getAppVersion() [2025-07-08 10:08:51] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 10:08:54] production.ERROR: CalendarRepository, get() [2025-07-08 10:08:54] 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-08 10:09:06] production.ERROR: CalendarRepository, get() [2025-07-08 10:09: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-08 10:09:40] production.ERROR: CalendarRepository, get() [2025-07-08 10:09:40] 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-08 10:09:42] production.ERROR: BaseRepository getAppVersion() [2025-07-08 10:09:42] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 10:09:47] production.ERROR: CalendarRepository, get() [2025-07-08 10:09:47] 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-08 10:09:54] production.ERROR: BaseRepository getAppVersion() [2025-07-08 10:09:54] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 10:10:14] production.ERROR: CalendarRepository, get() [2025-07-08 10:10: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-08 10:10:35] production.ERROR: BaseRepository getAppVersion() [2025-07-08 10:10:35] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 10:19:49] production.ERROR: CalendarRepository, get() [2025-07-08 10:19:49] 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-08 10:22:45] production.ERROR: CalendarRepository, get() [2025-07-08 10:22:45] 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-08 10:23:34] production.ERROR: array ( 'data' => array ( 'jwt_token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJvZmZpY2VAYWNtLW1vbnRhbmEuY29tIiwic3ViIjoiQVBJIiwiZGF0YWJhc2UiOiJHcmFpbl9TdG9yZV9XRUIiLCJleHAiOjE3NTE5NTk3MTYuMzk0MTJ9.wXTTf4V6-tOESyI5NF82NusuDNSCasLBwORpIYlORRM', ), ) [2025-07-08 10:24:02] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 10:24:02] 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-08 10:24:02.753 where [id_user] = 87 and [internal_number] = 11618 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 10:24:02] production.ERROR: LINE: 760 [2025-07-08 10:24:31] production.ERROR: CalendarRepository, get() [2025-07-08 10:24:31] 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-08 10:24:33] production.ERROR: CalendarRepository, get() [2025-07-08 10:24: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-08 10:25:18] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 10:25:18] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 10:25:18] production.ERROR: Document type:52Internal number: 3812 [2025-07-08 10:37:26] production.ERROR: CalendarRepository, get() [2025-07-08 10:37: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-08 10:50:19] production.ERROR: CalendarRepository, get() [2025-07-08 10:50: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-08 10:51:57] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 10:51:57] 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-08 10:51:57.080 where [id_user] = 87 and [internal_number] = 11619 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 10:51:57] production.ERROR: LINE: 760 [2025-07-08 11:02:11] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:02:11] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:02:17] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:02:17] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:15:42] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 11:15:42] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value '(75XXL) Стол Walkstool Comfort 75XXL' to data type int. (SQL: update [state_form_7_grid_1476] set [ItemID] = (75XXL) Стол Walkstool Comfort 75XXL, [is_changed] = 1, [updated_at] = 2025-07-08 11:15:42.875 where [id_user] = 11 and [internal_number] = 596 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 11:15:42] production.ERROR: LINE: 760 [2025-07-08 11:15:43] production.ERROR: file_key За стока Стол Walkstool Comfort 75XXL няма достатъчно складова наличност!!! does not have a _ and cannot be translated! [2025-07-08 11:15:43] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 11:15:43] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:15:43] production.ERROR: ApiController, respondConflict() [2025-07-08 11:15:44] production.ERROR: file_key За стока Стол Walkstool Comfort 75XXL няма достатъчно складова наличност!!! does not have a _ and cannot be translated! [2025-07-08 11:15:44] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 11:15:44] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:15:44] production.ERROR: ApiController, respondConflict() [2025-07-08 11:15:48] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:15:48] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:15:50] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:15:50] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:15:51] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 11:15:51] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:16:07] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 11:16:07] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:16:07] production.ERROR: ApiController, respondConflict() [2025-07-08 11:16:12] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:16:12] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:16:13] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 11:16:13] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:16:36] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 11:16:36] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:16:36] production.ERROR: ApiController, respondConflict() [2025-07-08 11:16:42] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:16:42] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:16:43] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 11:16:43] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:19:00] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 11:19:00] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:19:00] production.ERROR: ApiController, respondConflict() [2025-07-08 11:19:06] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:19:06] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:19:06] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 11:19:06] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:19:41] production.ERROR: BaseRepository getAppVersion() [2025-07-08 11:19:41] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 11:19:44] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:19:44] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:19:50] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 11:19:50] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:21:38] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:21:38] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:21:44] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 11:21:44] production.ERROR: Document type:6Internal number: 596 [2025-07-08 11:36:47] production.ERROR: An error has occured while loading document list ACL! [2025-07-08 11:36:47] production.ERROR: ERROR: Trying to access array offset on value of type null [2025-07-08 11:36:47] production.ERROR: LINE: 460 [2025-07-08 11:38:42] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 11:38:42] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 ) [2025-07-08 11:38:47] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:38:47] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:58:32] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 11:58:32] production.ERROR: Document type: 7 Internal number: 852 [2025-07-08 11:58:32] production.ERROR: Undefined array key "id_sys_stitle" [2025-07-08 11:58:32] production.ERROR: ApiController, respondConflict() [2025-07-08 11:58:55] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:58:55] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 11:59:00] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 11:59:00] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:01:28] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:01:28] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:01:33] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:01:33] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:02:15] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-08 12:02:15] production.ERROR: Document type: 2, Internal number: 597 [2025-07-08 12:02:15] production.ERROR: Generated SQL was: [2025-07-08 12:02:15] production.ERROR: EXEC [dbo].[usp_ssERP8_SaveDocument] @id_nmcl_company = '1', @id_user = '11', @lang = '1', @objectable_id = '2', @internal_number = '597' [2025-07-08 12:02:15] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 12:02:15] production.ERROR: Document type: 2 Internal number: 597 [2025-07-08 12:02:15] production.ERROR: {"Errors":[{"Error":",SQL Msg: 245, Level 16, State 1, Proc usp_ssERP8_SaveDocument-0,1,2,3a,3(Line: 108),Conversion failed when converting the nvarchar value '2025-07-08 12:02:14.837' to data type int."}]} [2025-07-08 12:02:15] production.ERROR: ApiController, respondConflict() [2025-07-08 12:02:19] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:02:19] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:04:17] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:04:17] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:04:22] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:04:22] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:05:38] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:05:38] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 ) [2025-07-08 12:05:44] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:05:44] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:06:47] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:06:47] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:21:12] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:21:12] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:21:15] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:21:15] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:21:15] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:21:15] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '257' ) [2025-07-08 12:21:15] production.ERROR: Problem with dependency id45 [2025-07-08 12:21:15] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '257' [2025-07-08 12:21:15] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:21:15] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '257' ) [2025-07-08 12:21:15] production.ERROR: Problem with dependency id45 [2025-07-08 12:21:15] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '257' [2025-07-08 12:22:19] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:22:19] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND tr.lang = '1' WHERE ce.active = 1 ) [2025-07-08 12:22:24] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:22:24] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:22:24] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:22:24] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:22:24] production.ERROR: Problem with dependency id59 [2025-07-08 12:22:24] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:22:45] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 12:22:45] production.ERROR: SQLSTATE[22018]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value '(0063) Патрони CCI кал.22 WMR MaxiMag TNT HP 0063, 30gr' to data type int. (SQL: update [state_form_9_grid_1485] set [ItemID] = (0063) Патрони CCI кал.22 WMR MaxiMag TNT HP 0063, 30gr, [is_changed] = 1, [updated_at] = 2025-07-08 12:22:45.975 where [id_user] = 11 and [internal_number] = 107 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 12:22:45] production.ERROR: LINE: 760 [2025-07-08 12:23:46] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'selected'. (SQL: update [cachereport61] set [selected] = 1 where [id] = 2281 and [id_user] = 11) {"userId":11,"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S22): SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'selected'. (SQL: update [cachereport61] set [selected] = 1 where [id] = 2281 and [id_user] = 11) 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-08 12:23:46] production.ERROR: Exceptions: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'selected'. (SQL: update [cachereport61] set [selected] = 1 where [id] = 2281 and [id_user] = 11) [2025-07-08 12:23:46] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 12:23:46] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 12:23:46] production.ERROR: Line: 760 [2025-07-08 12:24:33] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:24:33] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:24:36] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:24:36] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:24:36] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:24:36] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:24:36] production.ERROR: Problem with dependency id45 [2025-07-08 12:24:36] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:24:36] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:24:36] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:24:36] production.ERROR: Problem with dependency id45 [2025-07-08 12:24:36] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:26:03] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:26:03] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:26:05] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:26:05] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:26:06] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:26:06] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:26:06] production.ERROR: Problem with dependency id45 [2025-07-08 12:26:06] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:26:06] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:26:06] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:26:06] production.ERROR: Problem with dependency id45 [2025-07-08 12:26:06] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:44:24] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:44:24] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:44:24] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:44:24] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:44:24] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:44:24] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 ) [2025-07-08 12:44:55] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:44:55] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:44:55] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:44:55] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 ) [2025-07-08 12:45:11] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:45:11] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:45:11] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:45:11] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:45:11] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:45:11] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:45:11] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:45:11] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:45:14] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:45:14] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:45:15] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:45:15] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:45:15] production.ERROR: Problem with dependency id45 [2025-07-08 12:45:15] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:45:15] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:45:15] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:45:15] production.ERROR: Problem with dependency id45 [2025-07-08 12:45:15] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:46:26] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:46:26] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:46:29] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:46:29] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:46:30] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:46:30] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:46:30] production.ERROR: Problem with dependency id45 [2025-07-08 12:46:30] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:46:30] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:46:30] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:46:30] production.ERROR: Problem with dependency id45 [2025-07-08 12:46:30] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:47:10] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:47:10] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:47:10] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:47:10] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:05] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:05] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:05] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:05] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:22] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:22] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:22] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:22] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:22] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:22] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:22] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:49:22] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 ) [2025-07-08 12:49:42] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:49:42] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:49:43] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:49:43] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:49:43] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:49:43] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:49:43] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:49:43] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:49:46] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:46] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:46] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:46] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:46] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:46] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:49:46] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:46] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:46] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:46] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:49:46] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:46] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:46] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:46] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:49:46] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:46] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:46] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:46] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:49:54] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-08 12:49:54] production.ERROR: Document type: 14, Internal number: 159 [2025-07-08 12:49:54] production.ERROR: Generated SQL was: [2025-07-08 12:49:54] production.ERROR: EXEC [dbo].[usp_ssERP8_SaveDocument] @id_nmcl_company = '1', @id_user = '11', @lang = '1', @objectable_id = '14', @internal_number = '159' [2025-07-08 12:49:54] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 12:49:54] production.ERROR: Document type: 14 Internal number: 159 [2025-07-08 12:49:54] production.ERROR: {"Errors":[{"Error":",SQL Msg: 8672, Level 16, State 1, Proc usp_ssERP8_SaveDocument-0,1,2,3a,3(Line: 32),The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE\/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows."}]} [2025-07-08 12:49:55] production.ERROR: SOfficeTranslate insertTranslations() exception: [2025-07-08 12:49:55] production.ERROR: SQLSTATE[22001]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]String or binary data would be truncated. (SQL: insert into [sys_translations] ([filename], [label], [device], [locale], [server_insert], [flag], [updated_at], [created_at]) values (errors, {"errors":[{"error":",sql msg: 8672, level 16, state 1, proc usp_sserp8_savedocument-0,1,2,3a,3(line: 32),the merge statement attempted to update or delete the same row more than once. this happens when a target row matches more than one source row. a merge statement cannot update\/delete the same row of the target table multiple times. refine the on clause to ensure a target row matches at most one source row, or use the group by clause to group the source rows."}]}, web, bg, 1, 0, 2025-07-08 12:49:55.002, 2025-07-08 12:49:55.002)) [2025-07-08 12:49:55] production.ERROR: ApiController, respondConflict() [2025-07-08 12:49:56] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-08 12:49:56] production.ERROR: Document type: 14, Internal number: 159 [2025-07-08 12:49:56] production.ERROR: Generated SQL was: [2025-07-08 12:49:56] production.ERROR: EXEC [dbo].[usp_ssERP8_SaveDocument] @id_nmcl_company = '1', @id_user = '11', @lang = '1', @objectable_id = '14', @internal_number = '159' [2025-07-08 12:49:56] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 12:49:56] production.ERROR: Document type: 14 Internal number: 159 [2025-07-08 12:49:56] production.ERROR: {"Errors":[{"Error":",SQL Msg: 8672, Level 16, State 1, Proc usp_ssERP8_SaveDocument-0,1,2,3a,3(Line: 32),The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE\/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows."}]} [2025-07-08 12:49:56] production.ERROR: ApiController, respondConflict() [2025-07-08 12:49:57] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:57] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:58] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:49:58] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:49:59] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:59] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:59] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:59] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:49:59] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:59] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:59] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:59] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:49:59] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:59] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:59] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:59] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:49:59] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:49:59] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:49:59] production.ERROR: Problem with dependency id45 [2025-07-08 12:49:59] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:50:08] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-08 12:50:08] production.ERROR: Document type: 14, Internal number: 159 [2025-07-08 12:50:08] production.ERROR: Generated SQL was: [2025-07-08 12:50:08] production.ERROR: EXEC [dbo].[usp_ssERP8_SaveDocument] @id_nmcl_company = '1', @id_user = '11', @lang = '1', @objectable_id = '14', @internal_number = '159' [2025-07-08 12:50:08] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 12:50:08] production.ERROR: Document type: 14 Internal number: 159 [2025-07-08 12:50:08] production.ERROR: {"Errors":[{"Error":",SQL Msg: 8672, Level 16, State 1, Proc usp_ssERP8_SaveDocument-0,1,2,3a,3(Line: 32),The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE\/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows."}]} [2025-07-08 12:50:08] production.ERROR: ApiController, respondConflict() [2025-07-08 12:50:10] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-08 12:50:10] production.ERROR: Document type: 14, Internal number: 159 [2025-07-08 12:50:10] production.ERROR: Generated SQL was: [2025-07-08 12:50:10] production.ERROR: EXEC [dbo].[usp_ssERP8_SaveDocument] @id_nmcl_company = '1', @id_user = '11', @lang = '1', @objectable_id = '14', @internal_number = '159' [2025-07-08 12:50:10] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 12:50:10] production.ERROR: Document type: 14 Internal number: 159 [2025-07-08 12:50:10] production.ERROR: {"Errors":[{"Error":",SQL Msg: 8672, Level 16, State 1, Proc usp_ssERP8_SaveDocument-0,1,2,3a,3(Line: 32),The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE\/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows."}]} [2025-07-08 12:50:10] production.ERROR: ApiController, respondConflict() [2025-07-08 12:50:11] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:50:11] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:50:13] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:50:13] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:50:13] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:50:13] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:50:13] production.ERROR: Problem with dependency id45 [2025-07-08 12:50:13] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:50:13] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:50:13] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:50:13] production.ERROR: Problem with dependency id45 [2025-07-08 12:50:13] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:50:13] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:50:13] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:50:13] production.ERROR: Problem with dependency id45 [2025-07-08 12:50:13] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:50:13] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:50:13] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:50:13] production.ERROR: Problem with dependency id45 [2025-07-08 12:50:13] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:51:04] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-08 12:51:04] production.ERROR: Document type: 14, Internal number: 159 [2025-07-08 12:51:04] production.ERROR: Generated SQL was: [2025-07-08 12:51:04] production.ERROR: EXEC [dbo].[usp_ssERP8_SaveDocument] @id_nmcl_company = '1', @id_user = '11', @lang = '1', @objectable_id = '14', @internal_number = '159' [2025-07-08 12:51:04] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 12:51:04] production.ERROR: Document type: 14 Internal number: 159 [2025-07-08 12:51:04] production.ERROR: {"Errors":[{"Error":",SQL Msg: 8672, Level 16, State 1, Proc usp_ssERP8_SaveDocument-0,1,2,3a,3(Line: 32),The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE\/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows."}]} [2025-07-08 12:51:04] production.ERROR: ApiController, respondConflict() [2025-07-08 12:51:05] production.ERROR: BaseDocumentRepository, store(): SQL Save Error! [2025-07-08 12:51:05] production.ERROR: Document type: 14, Internal number: 159 [2025-07-08 12:51:05] production.ERROR: Generated SQL was: [2025-07-08 12:51:05] production.ERROR: EXEC [dbo].[usp_ssERP8_SaveDocument] @id_nmcl_company = '1', @id_user = '11', @lang = '1', @objectable_id = '14', @internal_number = '159' [2025-07-08 12:51:05] production.ERROR: BaseDocumentRepository, store() CATCH ALL EXCEPTION [2025-07-08 12:51:05] production.ERROR: Document type: 14 Internal number: 159 [2025-07-08 12:51:05] production.ERROR: {"Errors":[{"Error":",SQL Msg: 8672, Level 16, State 1, Proc usp_ssERP8_SaveDocument-0,1,2,3a,3(Line: 32),The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a target row matches more than one source row. A MERGE statement cannot UPDATE\/DELETE the same row of the target table multiple times. Refine the ON clause to ensure a target row matches at most one source row, or use the GROUP BY clause to group the source rows."}]} [2025-07-08 12:51:05] production.ERROR: ApiController, respondConflict() [2025-07-08 12:51:07] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:51:07] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:51:08] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:51:08] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:51:09] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:51:09] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:51:09] production.ERROR: Problem with dependency id45 [2025-07-08 12:51:09] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:51:09] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:51:09] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:51:09] production.ERROR: Problem with dependency id45 [2025-07-08 12:51:09] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:51:09] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:51:09] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:51:09] production.ERROR: Problem with dependency id45 [2025-07-08 12:51:09] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:51:09] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:51:09] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:51:09] production.ERROR: Problem with dependency id45 [2025-07-08 12:51:09] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:51:30] production.ERROR: BaseRepository getAppVersion() [2025-07-08 12:51:30] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 12:52:01] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:52:01] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:52:01] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:52:01] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:52:01] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:52:01] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:52:04] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:52:04] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:52:04] production.ERROR: Problem with dependency id45 [2025-07-08 12:52:04] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:52:04] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:52:04] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' ) [2025-07-08 12:52:04] production.ERROR: Problem with dependency id45 [2025-07-08 12:52:04] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9413' [2025-07-08 12:52:19] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:52:19] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:52:38] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:52:38] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:52:38] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:52:38] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 ) [2025-07-08 12:52:52] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:52:52] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:52:52] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:52:52] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:52:52] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:52:52] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:52:52] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 12:52:52] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1) [2025-07-08 12:52:55] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 12:52:55] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 12:52:55] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:52:55] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:52:55] production.ERROR: Problem with dependency id45 [2025-07-08 12:52:55] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:52:56] production.ERROR: ElementRepository, executeDependencySql() [2025-07-08 12:52:56] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' ) [2025-07-08 12:52:56] production.ERROR: Problem with dependency id45 [2025-07-08 12:52:56] production.ERROR: Syntax error with SQL code:SELECT ce.id ,fullname + ' (' + ct.companyName + ')' [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 AND ce.id_nmcl_CompanyBranch = '9172' [2025-07-08 12:54:18] production.ERROR: BaseRepository getAppVersion() [2025-07-08 12:54:18] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 12:59:39] production.ERROR: CalendarRepository, get() [2025-07-08 12:59:39] 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-08 12:59:56] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 12:59:56] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 12:59:56] production.ERROR: Document type:47Internal number: 11620 [2025-07-08 13:02:13] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 13:02:13] 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-08 13:02:13.147 where [id_user] = 87 and [internal_number] = 11620 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 13:02:13] production.ERROR: LINE: 760 [2025-07-08 13:16:38] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:16:38] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:16:43] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:16:43] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:18:12] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:18:12] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:18:12] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:18:12] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:18:42] production.ERROR: BaseRepository getAppVersion() [2025-07-08 13:18:42] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 13:19:25] production.ERROR: BaseRepository getAppVersion() [2025-07-08 13:19:25] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 13:19:38] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:19:38] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:20:22] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:20:22] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:20:22] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:20:22] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:21:29] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:21:29] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:21:29] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:21:29] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:21:45] production.ERROR: BaseRepository, query(), Error: [2025-07-08 13:21:45] production.ERROR: SQLSTATE[42S02]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid object name 'state'. (SQL: select * from state) [2025-07-08 13:21:55] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:21:55] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:21:55] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:21:55] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:22:05] production.ERROR: BaseRepository, query(), Error: [2025-07-08 13:22:05] production.ERROR: SQLSTATE[42S02]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid object name 'state'. (SQL: select * from state) [2025-07-08 13:22:21] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:22:21] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:22:21] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:22:21] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:22:26] production.ERROR: BaseRepository, query(), Error: [2025-07-08 13:22:26] production.ERROR: SQLSTATE[42S02]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid object name 'state'. (SQL: select * from state) [2025-07-08 13:22:39] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:22:39] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:22:39] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:22:39] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:22:44] production.ERROR: BaseRepository, query(), Error: [2025-07-08 13:22:44] production.ERROR: SQLSTATE[42S02]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid object name 'state'. (SQL: select * from state) [2025-07-08 13:22:55] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:22:55] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:22:56] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:22:56] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:23:00] production.ERROR: BaseRepository, query(), Error: [2025-07-08 13:23:00] production.ERROR: SQLSTATE[42S02]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid object name 'state'. (SQL: select * from state) [2025-07-08 13:23:39] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:23:39] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:30:18] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:30:18] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:30:18] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:30:18] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:30:18] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 13:30:18] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullname'. (SQL: SELECT ce.id ,ce.fullname [name] FROM nmcl_employees ce LEFT JOIN nmcl_Company c ON c.id = ce.id_nmcl_CompanyBranch AND c.active = 1 LEFT JOIN nmcl_company_translations ct ON ct.id_nmcl_company = c.id AND lang = '1' WHERE ce.active = 1 ) [2025-07-08 13:30:29] production.ERROR: file_key За стока Халосни патрони Geco, 9mm. Revolver няма достатъчно складова наличност!!! does not have a _ and cannot be translated! [2025-07-08 13:30:29] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 13:30:29] production.ERROR: Document type:7Internal number: 857 [2025-07-08 13:46:35] production.ERROR: BaseRepository getAppVersion() [2025-07-08 13:46:35] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 13:50:20] production.ERROR: BaseRepository getAppVersion() [2025-07-08 13:50:20] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 13:51:01] production.ERROR: BaseRepository getAppVersion() [2025-07-08 13:51:01] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 13:51:04] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:51:04] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 13:51:09] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 13:51:09] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 14:08:33] production.ERROR: BaseRepository getAppVersion() [2025-07-08 14:08:33] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 14:32:12] production.ERROR: CalendarRepository, get() [2025-07-08 14: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-08 14:32:44] production.ERROR: file_key Констативният Протокол задължително трябва да има връзка с Договор или друг предходен документ!!!
Ползвайте справките за създаване на документ Констативен протокол! does not have a _ and cannot be translated! [2025-07-08 14:32:44] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 14:32:44] production.ERROR: Document type:49Internal number: 21919 [2025-07-08 14:33:05] production.ERROR: CalendarRepository, get() [2025-07-08 14:33:05] 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-08 14:53:13] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 14:53:13] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullName'. (SQL: select distinct e.id, e.fullName + ' (' + c.companyName + ')' as name from state_form_362 st inner join dbo.nmcl_companyBranch cb on cb.ID = st.id_nmcl_CompanyBranch_Source inner join dbo.nmcl_company c on c.ID = cb.id_nmcl_Company inner join dbo.nmcl_employees e on e.id_nmcl_Company = c.ID --inner join dbo.nmcl_company_ c on c.ID = cb.id_nmcl_Company where e.MOL = 'T' and c.id_nmcl_CompanyType = 1) [2025-07-08 14:53:13] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 14:53:13] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullName'. (SQL: select distinct e.id, e.fullName + ' (' + c.companyName + ')' as name from state_form_362 st inner join dbo.nmcl_companyBranch cb on cb.ID = st.id_nmcl_CompanyBranch_Destination inner join dbo.nmcl_company c on c.ID = cb.id_nmcl_Company inner join dbo.nmcl_employees e on e.id_nmcl_Company = c.ID --inner join dbo.nmcl_company_ c on c.ID = cb.id_nmcl_Company where e.MOL = 'T') [2025-07-08 14:53:14] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 14:53:14] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 14:53:14] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 14:53:14] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullName'. (SQL: select distinct e.id, e.fullName + ' (' + c.companyName + ')' as name from state_form_362 st inner join dbo.nmcl_companyBranch cb on cb.ID = st.id_nmcl_CompanyBranch_Source inner join dbo.nmcl_company c on c.ID = cb.id_nmcl_Company inner join dbo.nmcl_employees e on e.id_nmcl_Company = c.ID --inner join dbo.nmcl_company_ c on c.ID = cb.id_nmcl_Company where e.MOL = 'T' and c.id_nmcl_CompanyType = 1) [2025-07-08 14:53:14] production.ERROR: FormGenerator, generateElementOptions [2025-07-08 14:53:14] production.ERROR: SQLSTATE[42S22]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Invalid column name 'fullName'. (SQL: select distinct e.id, e.fullName + ' (' + c.companyName + ')' as name from state_form_362 st inner join dbo.nmcl_companyBranch cb on cb.ID = st.id_nmcl_CompanyBranch_Destination inner join dbo.nmcl_company c on c.ID = cb.id_nmcl_Company inner join dbo.nmcl_employees e on e.id_nmcl_Company = c.ID --inner join dbo.nmcl_company_ c on c.ID = cb.id_nmcl_Company where e.MOL = 'T') [2025-07-08 14:53:20] production.ERROR: GlobalSettingsService, setCustomSettings(), Error setting custom settings from session! [2025-07-08 14:53:20] production.ERROR: SimpleXMLElement::addChild(): unterminated entity reference /#7b"@dBPLW-~ [2025-07-08 14:53:20] production.ERROR: BaseRepository, query(), Error: [2025-07-08 14:53:20] production.ERROR: SQLSTATE[IMSSP]: The active result for the query contains no fields. (SQL: --EXEC [dbo].[ValidateDoc69] '243') [2025-07-08 14:53:32] production.ERROR: BaseRepository getAppVersion() [2025-07-08 14:53:32] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 15:21:18] production.ERROR: CalendarRepository, get() [2025-07-08 15:21: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-08 15:27:37] production.ERROR: file_key Когато в документ Договор за Покупка на зърно е посочено, че отговорен за транспорта по сделката е Грейнстор, в съставките задължително трябва да се въведе цена за транспорт!!! does not have a _ and cannot be translated! [2025-07-08 15:27:37] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 15:27:37] production.ERROR: Document type:47Internal number: 11622 [2025-07-08 15:27:37] production.ERROR: ApiController, respondConflict() [2025-07-08 15:27:38] production.ERROR: file_key Когато в документ Договор за Покупка на зърно е посочено, че отговорен за транспорта по сделката е Грейнстор, в съставките задължително трябва да се въведе цена за транспорт!!! does not have a _ and cannot be translated! [2025-07-08 15:27:38] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 15:27:38] production.ERROR: Document type:47Internal number: 11622 [2025-07-08 15:27:38] production.ERROR: ApiController, respondConflict() [2025-07-08 15:27:46] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 15:27:46] production.ERROR: Document type:47Internal number: 11622 [2025-07-08 15:27:49] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 15:27:49] production.ERROR: Document type:47Internal number: 11622 [2025-07-08 15:27:49] production.ERROR: ApiController, respondConflict() [2025-07-08 15:27:51] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 15:27:51] production.ERROR: Document type:47Internal number: 11622 [2025-07-08 15:27:51] production.ERROR: ApiController, respondConflict() [2025-07-08 15:28:00] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 15:28:00] production.ERROR: Document type:47Internal number: 11622 [2025-07-08 15:28:58] production.ERROR: CalendarRepository, get() [2025-07-08 15:28:58] 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-08 15:29:24] production.ERROR: CalendarRepository, get() [2025-07-08 15:29:24] 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-08 15:29:38] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 15:29:38] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 15:29:38] production.ERROR: Document type:47Internal number: 11624 [2025-07-08 15:30:08] production.ERROR: CalendarRepository, get() [2025-07-08 15:30:08] 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-08 15:30:31] production.ERROR: CalendarRepository, get() [2025-07-08 15:30:31] 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-08 15:30:51] production.ERROR: CalendarRepository, get() [2025-07-08 15:30:51] 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-08 15:30:54] production.ERROR: CalendarRepository, get() [2025-07-08 15:30:54] 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-08 15:31:04] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 15:31:04] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 15:31:04] production.ERROR: Document type:47Internal number: 11625 [2025-07-08 15:31:53] production.ERROR: BaseRepository getAppVersion() [2025-07-08 15:31:53] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 15:31:57] production.ERROR: CalendarRepository, get() [2025-07-08 15:31:57] 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-08 15:32:46] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 15:32:46] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 15:32:46] production.ERROR: Document type:47Internal number: 11626 [2025-07-08 15:33:01] production.ERROR: CalendarRepository, get() [2025-07-08 15:33:01] 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-08 15:34:02] production.ERROR: CalendarRepository, get() [2025-07-08 15:34:02] 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-08 15:57:23] production.ERROR: CalendarRepository, get() [2025-07-08 15:57:23] 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-08 15:58:31] production.ERROR: BaseRepository getAppVersion() [2025-07-08 15:58:31] production.ERROR: Unable to retrieve the last_modified for file at location: .git/refs/heads/master. [2025-07-08 16:25:55] production.ERROR: CalendarRepository, get() [2025-07-08 16:25: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-08 16:26:17] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 16:26:17] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 16:26:17] production.ERROR: Document type:47Internal number: 11627 [2025-07-08 16:26:18] 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-08 16:26:18] 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-08 16:26:18] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 16:26:18] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 16:26:18] production.ERROR: Line: 760 [2025-07-08 16:28:18] 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-08 16:28:18] 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-08 16:28:18] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 16:28:18] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 16:28:18] production.ERROR: Line: 760 [2025-07-08 16:29:10] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 16:29:10] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 16:29:10] production.ERROR: Document type:47Internal number: 11628 [2025-07-08 16:29:11] 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-08 16:29:11] 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-08 16:29:11] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 16:29:11] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 16:29:11] production.ERROR: Line: 760 [2025-07-08 16:31:03] production.ERROR: file_key Когато в документ Договор за Покупка на зърно е посочено, че отговорен за транспорта по сделката е Грейнстор, в съставките задължително трябва да се въведе цена за транспорт!!! does not have a _ and cannot be translated! [2025-07-08 16:31:03] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 16:31:03] production.ERROR: Document type:47Internal number: 11628 [2025-07-08 16:31:03] production.ERROR: ApiController, respondConflict() [2025-07-08 16:31:13] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 16:31:13] production.ERROR: Document type:47Internal number: 11628 [2025-07-08 16:31:13] 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-08 16:31:13] 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-08 16:31:13] production.ERROR: Exceptions Class: Illuminate\Database\QueryException [2025-07-08 16:31:13] production.ERROR: File: /var/www/html/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php [2025-07-08 16:31:13] production.ERROR: Line: 760 [2025-07-08 16:40:15] production.ERROR: CalendarRepository, get() [2025-07-08 16:40: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-08 16:40:28] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 16:40:28] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 16:40:28] production.ERROR: Document type:47Internal number: 11629 [2025-07-08 16:43:55] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 16:43:55] 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-08 16:43:55.397 where [id_user] = 87 and [internal_number] = 11629 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 16:43:55] production.ERROR: LINE: 760 [2025-07-08 16:44:12] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 16:44:12] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 16:44:12] production.ERROR: Document type:47Internal number: 11630 [2025-07-08 16:48:16] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 16:48:16] 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-08 16:48:16.659 where [id_user] = 87 and [internal_number] = 11630 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 16:48:16] production.ERROR: LINE: 760 [2025-07-08 16:48:18] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 16:48:18] 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] = 11630 and [id_user] = 87) [2025-07-08 16:48:18] production.ERROR: LINE: 760 [2025-07-08 17:57:54] production.ERROR: CalendarRepository, get() [2025-07-08 17:57:54] 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-08 17:58:53] production.ERROR: CalendarRepository, get() [2025-07-08 17:58: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-08 17:59:53] production.ERROR: CalendarRepository, get() [2025-07-08 17:59: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-08 20:12:14] production.ERROR: CalendarRepository, get() [2025-07-08 20:12: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-08 20:13:05] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 20:13:05] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 20:13:05] production.ERROR: Document type:47Internal number: 11631 [2025-07-08 20:15:47] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 20:15:47] 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-08 20:15:47.839 where [id_user] = 87 and [internal_number] = 11631 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 20:15:47] production.ERROR: LINE: 760 [2025-07-08 22:50:11] production.ERROR: CalendarRepository, get() [2025-07-08 22:50:11] 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-08 22:50:47] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 22:50:47] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 22:50:47] production.ERROR: Document type:52Internal number: 3813 [2025-07-08 22:51:48] production.ERROR: CalendarRepository, get() [2025-07-08 22:51:48] 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-08 22:52:20] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 22:52:20] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 22:52:20] production.ERROR: Document type:52Internal number: 3814 [2025-07-08 22:53:13] production.ERROR: CalendarRepository, get() [2025-07-08 22:53:13] 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-08 22:53:47] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 22:53:47] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 22:53:47] production.ERROR: Document type:52Internal number: 3815 [2025-07-08 22:58:12] production.ERROR: CalendarRepository, get() [2025-07-08 22:58: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-08 22:59:12] production.ERROR: CalendarRepository, get() [2025-07-08 22:59: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-08 23:00:13] production.ERROR: CalendarRepository, get() [2025-07-08 23:00:13] 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-08 23:01:12] production.ERROR: CalendarRepository, get() [2025-07-08 23:01: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-08 23:02:12] production.ERROR: CalendarRepository, get() [2025-07-08 23:02: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-08 23:03:12] production.ERROR: CalendarRepository, get() [2025-07-08 23:03: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-08 23:10:15] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 23:10:15] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 23:10:15] production.ERROR: Document type:52Internal number: 3816 [2025-07-08 23:12:36] production.ERROR: CalendarRepository, get() [2025-07-08 23:12:36] 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-08 23:13:08] production.ERROR: file_key Номерът на този тип документи при българските доставчици трябва да съдържа само цифри!!! does not have a _ and cannot be translated! [2025-07-08 23:13:08] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 23:13:08] production.ERROR: Document type:52Internal number: 3817 [2025-07-08 23:14:03] production.ERROR: CalendarRepository, get() [2025-07-08 23:14:03] 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-08 23:15:04] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:15:04] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:15:19] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:15:19] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:15:20] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:15:20] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:15:20] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:15:20] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:15:20] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:15:20] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:15:20] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:15:20] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:16:12] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:16:12] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:16:23] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:16:23] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:16:23] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:16:23] 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_281_grid_1635] set [id_nmcl_country] = България , [is_changed] = 1, [rows_group] = 0, [updated_at] = 2025-07-08 23:16:23.105 where [id_user] = 87 and [internal_number] = 130 and ([rows_group] = 0 or [rows_group] = 0) and [id_grid_row] = 1) [2025-07-08 23:16:23] production.ERROR: LINE: 760 [2025-07-08 23:16:32] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:16:32] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:17:21] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:17:21] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:17:23] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:17:23] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:18:06] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:18:06] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:18:50] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:18:50] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:19:14] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:19:14] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:19:50] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:19:50] production.ERROR: updateStateChanged failed: updateStateChanged returned false [2025-07-08 23:19:54] production.ERROR: There was an error while trying to Validate [2025-07-08 23:19:54] production.ERROR: ERROR SQLSTATE[42000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Error converting data type varchar to int. (SQL: exec dbo.ValidateNmcl61 '130',':id_user:') [2025-07-08 23:19:55] production.ERROR: There was an error while attempting to trigger AfterSaveSql! [2025-07-08 23:19:55] production.ERROR: ERROR SQLSTATE[42000]: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Error converting data type varchar to int. (SQL: exec dbo.AfterSave_Potential_Clients ':id:' , ':id_user:' , ':internal_number:') [2025-07-08 23:20:22] production.ERROR: file_key Задължително трябва да бъде избран отговорен дилър преди да се направи импорта на потенциалния клиент!!! does not have a _ and cannot be translated! [2025-07-08 23:20:22] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 23:20:22] production.ERROR: Document type:56Internal number: 1373 [2025-07-08 23:22:31] production.ERROR: file_key Потенциалните клиенти задължително трябва да имат въведени БУЛСТАТ, Даъчен номер, Страна, Град, Адрес, Телефон, EMAIL и Тип преди да се импортират в ЕРП!!! Коригирайте нужната информация и опитайте да запишете документа отново! does not have a _ and cannot be translated! [2025-07-08 23:22:31] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 23:22:31] production.ERROR: Document type:56Internal number: 1373 [2025-07-08 23:22:31] production.ERROR: ApiController, respondConflict() [2025-07-08 23:22:33] production.ERROR: file_key Потенциалните клиенти задължително трябва да имат въведени БУЛСТАТ, Даъчен номер, Страна, Град, Адрес, Телефон, EMAIL и Тип преди да се импортират в ЕРП!!! Коригирайте нужната информация и опитайте да запишете документа отново! does not have a _ and cannot be translated! [2025-07-08 23:22:33] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 23:22:33] production.ERROR: Document type:56Internal number: 1373 [2025-07-08 23:22:33] production.ERROR: ApiController, respondConflict() [2025-07-08 23:22:36] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 23:22:36] production.ERROR: Document type:56Internal number: 1373 [2025-07-08 23:23:36] production.ERROR: file_key В номенклатура Фирмени данни в ЕРП съществува Фирма с този данъчен номер!!! does not have a _ and cannot be translated! [2025-07-08 23:23:36] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 23:23:36] production.ERROR: Document type:56Internal number: 1373 [2025-07-08 23:23:36] production.ERROR: ApiController, respondConflict() [2025-07-08 23:23:38] production.ERROR: BaseDocumentRepository, store(): errorMsgValidation Error! [2025-07-08 23:23:38] production.ERROR: Document type:56Internal number: 1373 [2025-07-08 23:23:38] production.ERROR: ApiController, respondConflict() [2025-07-08 23:23:41] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 23:23:41] production.ERROR: Document type:56Internal number: 1373 [2025-07-08 23:23:57] production.ERROR: CalendarRepository, get() [2025-07-08 23:23:57] 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-08 23:24:09] production.ERROR: file_key Полетата за Влага, Примеси и Зърнени Примеси са задаължителни за попълване в договорите!!! Прегледайте редовете на договора, въведете пропуснатите показатели и опитайте да запишете документа отново!!! does not have a _ and cannot be translated! [2025-07-08 23:24:09] production.ERROR: BaseDocumentRepository, checkSqlError(): errorMsgValidation Error! [2025-07-08 23:24:09] production.ERROR: Document type:47Internal number: 11632 [2025-07-08 23:26:36] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:26:36] 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-08 23:26:36.462 where [id_user] = 87 and [internal_number] = 11632 and [rows_group] = 1 and [id_grid_row] = 1) [2025-07-08 23:26:36] production.ERROR: LINE: 760 [2025-07-08 23:26:37] production.ERROR: ElementRepository, updateElementCache() [2025-07-08 23:26:37] 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] = 11632 and [id_user] = 87) [2025-07-08 23:26:37] production.ERROR: LINE: 760