Announcement

Collapse
No announcement yet.

Job: error 500

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Job: error 500

    Hello

    running Current version: 8.0.4

    when i click on Admin-> ScheduledJobs -> Job



    Click image for larger version

Name:	image.png
Views:	172
Size:	64.2 KB
ID:	99912

    i have this 500 error

    Code:
    [2023-11-20 10:52:58] ERROR: Slim Application Error Type: Error Code: 0 Message: Typed property Espo\Core\Controllers\RecordBase::$searchParamsFet cher must not be accessed before initialization File: /var/www/html/application/Espo/Core/Controllers/RecordBase.php Line: 283 Trace: #0 /var/www/html/application/Espo/Core/Controllers/RecordBase.php(240): Espo\Core\Controllers\RecordBase->fetchSearchParamsFromRequest(Object(Espo\Core\A pi \RequestWrapper)) #1 /var/www/html/application/Espo/Core/Api/ControllerActionProcessor.php(87): Espo\Core\Controllers\RecordBase->getActionList(Object(Espo\Core\Api\RequestWrapp er ), Object(Espo\Core\Api\ResponseWrapper)) #2 /var/www/html/application/Espo/Core/Api/ControllerActionHandler.php(69): Espo\Core\Api\ControllerActionProcessor->process('Job', 'list', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #3 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Espo\Core\Api\ControllerActionHandler->handle(Object(Slim\Psr7\Request)) #4 /var/www/html/application/Espo/Core/Api/RouteProcessor.php(222): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #5 /var/www/html/application/Espo/Core/Api/RouteProcessor.php(149): Espo\Core\Api\RouteProcessor->processControllerAction(Object(Espo\Core\Api\Pr oc essData), Object(Slim\Psr7\Request), Object(Espo\Core\Api\ResponseWrapper)) #6 /var/www/html/application/Espo/Core/Api/RouteProcessor.php(127): Espo\Core\Api\RouteProcessor->processAfterAuth(Object(Espo\Core\Api\ProcessDa ta ), Object(Slim\Psr7\Request), Object(Espo\Core\Api\ResponseWrapper)) #7 /var/www/html/application/Espo/Core/Api/RouteProcessor.php(79): Espo\Core\Api\RouteProcessor->processInternal(Object(Espo\Core\Api\ProcessDat a) , Object(Slim\Psr7\Request), Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #8 /var/www/html/application/Espo/Core/Api/Starter.php(109): Espo\Core\Api\RouteProcessor->process(Object(Espo\Core\Api\ProcessData), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response)) #9 /var/www/html/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): Espo\Core\Api\Starter->Espo\Core\Api\{closure}(Object(Slim\Psr7\Reques t) , Object(Slim\Psr7\Response), Array) #10 /var/www/html/vendor/slim/slim/Slim/Routing/Route.php(358): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Psr7\Request), Object(Slim\Psr7\Response), Array) #11 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\Routing\Route->handle(Object(Slim\Psr7\Request)) #12 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #13 /var/www/html/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #14 /var/www/html/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run(Object(Slim\Psr7\Request)) #15 /var/www/html/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Slim\Routing\RouteRunner->handle(Object(Slim\Psr7\Request)) #16 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\RoutingMiddleware->process(Object(Slim\Psr7\Request), Object(Slim\Routing\RouteRunner)) #17 /var/www/html/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #18 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(Slim\Psr7\Request), Object(Psr\Http\Server\RequestHandlerInterface@ano nymous)) #19 /var/www/html/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(Slim\Psr7\Request)) #20 /var/www/html/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(Slim\Psr7\Request)) #21 /var/www/html/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(Slim\Psr7\Request)) [NODE="22"]Unminify assets or how to recreate t...o.min.js file?[/NODE] /var/www/html/application/Espo/Core/Api/Starter.php(76): Slim\App->run() [NODE="23"]Unminify assets or how to recreate t...o.min.js file?[/NODE] /var/www/html/application/Espo/Core/ApplicationRunners/Api.php(45): Espo\Core\Api\Starter->start() #24 /var/www/html/application/Espo/Core/Application/RunnerRunner.php(84): Espo\Core\ApplicationRunners\Api->run() [NODE="25"]Unminify assets or how to recreate t...o.min.js file?[/NODE] /var/www/html/application/Espo/Core/Application.php(78): Espo\Core\Application\RunnerRunner->run('Espo\\Core\\Appli...', NULL) [NODE="26"]how to upgrade ?[/NODE] /var/www/html/public/api/v1/index.php(35): Espo\Core\Application->run('Espo\\Core\\Appli...') [NODE="27"]how to upgrade ?[/NODE] {main} Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
    any idea?
    Attached Files

  • #2
    Hi wtconseil,

    Can you please tell me if there are any code customisations present in your EspoCRM instance? I cannot reproduce your error.

    Comment


    • #3
      i have created 2 custom ScheduledJob indeed
      but i cannot see any logs related to this custom files.

      Let me know if i can help to investigate

      Comment


      • #4
        wtconseil,

        In these custom Scheduled Jobs you should look for the problem.
        You can post this question to the developers thread, so that they can analyse them and suggest where the error may be.

        Comment


        • #5
          ok, i create this post so:
          Hello running Current version: 8.0.4 ​ when i click on Admin-> ScheduledJobs -> Job ​ (filedata/fetch?filedataid=10734) i have this 500 error ​ [2023-11-20 10:52:58] ERROR: Slim Application Error Type: Error Code: 0 Message: Typed property Espo\Core\Controllers\RecordBase::$searchParamsFet cher must not be


          thanks

          Comment

          Working...
          X