При открытии появляется вот такая ошибка
/offload/rootfs/usr/www/sites/admin-cabinet/index.php
}
public function main()
{
$this->registerServices();
// Register the default modules
$this->registerModules([
'admin-cabinet' => [
"className" => "MikoPBX\AdminCabinet\Module",
"path" => __DIR__ . '/../../src/AdminCabinet/Module.php',
],
]);
$this->setDefaultModule('admin-cabinet');
// Register additional app modules from external enabled modules
PbxExtensionUtils::registerEnabledModulesInApp($this);
try {
echo $this->handle($_SERVER['REQUEST_URI'])->getContent();
} catch (Throwable $e) {
CriticalErrorsHandler::handleException($e);
}
}
}
$application = new Application();
$application->main();
Environment & details:
GET Data
POST Data empty
Files empty
Cookies
PHPSESSID | c26b2ec4eedf5e26e96bc58415cde6a3 |
Session
authAdminCabinet | Array ( [role] => admins [homePage] => /admin-cabinet/extensions/index ) |
Server/Request Data
Registered Handlers
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler
Phalcon\Mvc\Dispatcher\Exception thrown with message "Action 'index' was not found on handler 'Restart'"
Stacktrace:
#2 Phalcon\Mvc\Dispatcher\Exception in /offload/rootfs/usr/www/sites/admin-cabinet/index.php:65
#1 Phalcon\Mvc\Application:handle in /offload/rootfs/usr/www/sites/admin-cabinet/index.php:65
#0 Application:main in /offload/rootfs/usr/www/sites/admin-cabinet/index.php:73
Что это и как исправить не пойму