Error 500 "Espo\Core\Hooks\Base not found File"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • serqet
    Senior Member
    • Feb 2019
    • 113

    Error 500 "Espo\Core\Hooks\Base not found File"

    After upgrading my version to 9.0.1 via CLI, I cannot open a new record or change an existing record in any of my entities. The log is as follows. Help please?
    yuri



    [2025-01-24 11:02:31] ERROR: Slim Application Error Type: Error Code: 0 Message: Class "Espo\Core\Hooks\Base" not found File: /var/www/vhosts/*/httpdocs/application/Espo/Hooks/Volvox/datecontrol.php Line: 8 Trace: #0 /var/www/vhosts/*/httpdocs/vendor/composer/ClassLoader.php(576): include() #1 /var/www/vhosts/*/httpdocs/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}() #2 [internal function]: Composer\Autoload\ClassLoader->loadClass() #3 /var/www/vhosts/*/httpdocs/application/Espo/Core/HookManager.php(208): get_class_methods() #4 /var/www/vhosts/*/httpdocs/application/Espo/Core/HookManager.php(165): Espo\Core\HookManager->readHookData() #5 /var/www/vhosts/*/httpdocs/application/Espo/Core/HookManager.php(102): Espo\Core\HookManager->loadHooks() #6 /var/www/vhosts/*/httpdocs/application/Espo/Core/Repositories/Database.php(328): Espo\Core\HookManager->process() #7 /var/www/vhosts/*/httpdocs/application/Espo/ORM/Repository/RDBRepository.php(143): Espo\Core\Repositories\Database->beforeSave() #8 /var/www/vhosts/*/httpdocs/application/Espo/Core/Repositories/Database.php(144): Espo\ORM\Repository\RDBRepository->save() #9 /var/www/vhosts/*/httpdocs/application/Espo/ORM/EntityManager.php(253): Espo\Core\Repositories\Database->save() #10 /var/www/vhosts/*/httpdocs/application/Espo/Core/Record/Service.php(742): Espo\ORM\EntityManager->saveEntity() #11 /var/www/vhosts/*/httpdocs/application/Espo/Core/Controllers/RecordBase.php(225): Espo\Core\Record\Service->update() #12 /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/ControllerActionProcessor.php(87): Espo\Core\Controllers\RecordBase->putActionUpdate() #13 /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/ControllerActionHandler.php(65): Espo\Core\Api\ControllerActionProcessor->process() #14 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Espo\Core\Api\ControllerActionHandler->handle() #15 /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/RouteProcessor.php(221): Slim\MiddlewareDispatcher->handle() #16 /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/RouteProcessor.php(148): Espo\Core\Api\RouteProcessor->processControllerAction() #17 /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/RouteProcessor.php(126): Espo\Core\Api\RouteProcessor->processAfterAuth() #18 /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/RouteProcessor.php(78): Espo\Core\Api\RouteProcessor->processInternal() #19 /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/Starter.php(119): Espo\Core\Api\RouteProcessor->process() #20 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(38): Espo\Core\Api\Starter->Espo\Core\Api\{closure}() #21 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/Routing/Route.php(363): Slim\Handlers\Strategies\RequestResponse->__invoke() Unminify assets or how to recreate t...o.min.js file? /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\Routing\Route->handle() Unminify assets or how to recreate t...o.min.js file? /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Slim\MiddlewareDispatcher->handle() #24 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/Routing/Route.php(321): Slim\MiddlewareDispatcher->handle() Unminify assets or how to recreate t...o.min.js file? /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/Routing/RouteRunner.php(74): Slim\Routing\Route->run() how to upgrade ? /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Slim\Routing\RouteRunner->handle() how to upgrade ? /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\RoutingMiddleware->process() #28 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #29 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process() #30 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #31 /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle() Unminify assets or how to recreate t...o.min.js file? /var/www/vhosts/*/httpdocs/vendor/slim/slim/Slim/App.php(193): Slim\App->handle() Quotes /var/www/vhosts/*/httpdocs/application/Espo/Core/Api/Starter.php(77): Slim\App->run() Quotes /var/www/vhosts/*/httpdocs/application/Espo/Core/ApplicationRunners/Api.php(45): Espo\Core\Api\Starter->start() #35 /var/www/vhosts/*/httpdocs/application/Espo/Core/Application/RunnerRunner.php(84): Espo\Core\ApplicationRunners\Api->run() how to upgrade ? /var/www/vhosts/*/httpdocs/application/Espo/Core/Application.php(78): Espo\Core\Application\RunnerRunner->run() how to upgrade ? /var/www/vhosts/*/httpdocs/public/api/v1/index.php(35): Espo\Core\Application->run() how to upgrade ? {main} Tips: To display error details in HTTP response set "displayErrorDetails" to true in the ErrorHandler constructor.
  • serqet
    Senior Member
    • Feb 2019
    • 113

    #2
    I had created a hook a long time ago, and when I deleted that php file, the problem was solved.

    Comment

    Working...