When hitting the "Convert" button for a Lead, I get an error 500 and the following message can be found in the error log:
Espo Version is 6.0.8 and System Requirements are all green.
Any ideas?
Code:
[2020-12-21 08:45:19] Espo.ERROR: Slim Application Error Type: TypeError Code: 0 Message: Argument 1 passed to Espo\ORM\BaseEntity::has() must be of the type string, null given, called in /home/si te/wwwroot/application/Espo/Modules/Crm/Services/Lead.php on line 194 File: /home/site/wwwroot/application/Espo/ORM/BaseEntity.php Line: 190 Trace: #0 /home/site/wwwroot/application/Espo/Modules/C rm/Services/Lead.php(194): Espo\ORM\BaseEntity->has(NULL) #1 /home/site/wwwroot/application/Espo/Modules/Crm/Controllers/Lead.php(63): Espo\Modules\Crm\Services\Lead->getConvertAttributes('5fe05ec d7104adf...') #2 /home/site/wwwroot/application/Espo/Core/ControllerManager.php(109): Espo\Modules\Crm\Controllers\Lead->postActionGetConvertAttributes(Array, Object(stdClass), Object(Espo\Core\Ap i\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #3 /home/site/wwwroot/application/Espo/Core/Api/RouteProcessor.php(84): Espo\Core\ControllerManager->process('Lead', 'getConvertAttri...', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #4 /home/site/wwwroot/application/Espo/Core/ApplicationRunners/Api.php(184): Espo\Core\Api\RouteProcessor->process('/{ controller}/a...', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #5 /home/site/wwwroot/application/Espo/Core/ApplicationRunners/Api.php(112): Espo\Core\ApplicationRu nners\Api->processRequest(Array, Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper), Array) #6 /home/site/wwwroot/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse .php(43): Espo\Core\ApplicationRunners\Api->Espo\Core\ApplicationRunners\{closure}(Object(S li m\Psr7\Request), Object(Slim\Psr7\Response), Array) #7 /home/site/wwwroot/vendor/slim/slim/Slim/Routing /Route.php(381): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #8 /home/site/wwwroot/vendor/slim/slim/Slim/Middl ewareDispatcher.php(81): Slim\Routing\Route->handle(Object(Slim\Psr7\Request)) #9 /home/site/wwwroot/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle(Object(Sl im\Psr7\Request)) #10 /home/site/wwwroot/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #11 /home/site/wwwroot/vendor/slim/slim/Slim/Rou ting/RouteRunner.php(84): Slim\Routing\Route->run(Object(Slim\Psr7\Request)) #12 /home/site/wwwroot/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(60): Slim\Routing\RouteRunner->handle(Obj ect(Slim\Psr7\Request)) #13 /home/site/wwwroot/vendor/slim/slim/Slim/MiddlewareDispatcher.php(140): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteR unner)) #14 /home/site/wwwroot/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(107): class@anonymous->handle(Object(Slim\Psr7\Request)) #15 /home/site/wwwroot/vendor/slim/slim/Slim/Middleware Dispatcher.php(140): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(class@anonymous)) #16 /home/site/wwwroot/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): class@a nonymous->handle(Object(Slim\Psr7\Request)) #17 /home/site/wwwroot/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #18 /home/site/wwwroot/vendor/sl im/slim/Slim/App.php(199): Slim\App->handle(Object(Slim\Psr7\Request)) #19 /home/site/wwwroot/application/Espo/Core/ApplicationRunners/Api.php(94): Slim\App->run() #20 /home/site/wwwroot/applicati on/Espo/Core/Application.php(107): Espo\Core\ApplicationRunners\Api->run(NULL) #21 /home/site/wwwroot/api/v1/index.php(37): Espo\Core\Application->run('Espo\\Core\\Appli...') #22 {main} Tips: To d isplay error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor. [] []
Any ideas?
Comment