Ops, ocorreu um erro...
A Instância /openhouse #43 - Open House está desativada
Informação:
- ⧉⌕$dump Exception (7) "A Instância /openhouse #43 - Open House está desativada"
- Source
- Properties (7)
- Available methods (11)
- protected function _loadTenant(&$path){$tenant = Tenant::bySlug($path[0]);if($tenant !== false){if($tenant->isDeleted()){self::setTenant(Tenant::first());throw new \Exception("A Instância /".$tenant->slug." #".$tenant->tenant_id." - ".$tenant->name." está desativada");}array_shift($path);self::setTenant($tenant);self::$tenant = $tenant->slug;}else
- protected message -> UTF-8 string (55) "A Instância /openhouse #43 - Open House está desativada"
- private string -> string (0) ""
- protected code -> integer 0
- ⧉protected file -> string (42) "/var/www/21live/app/Library/LiveRouter.php"
- File (5.56KB)
-rw-rw-r-- 500 500 5.56KB Apr 26 11:00 /var/www/21live/app/Library/LiveRouter.php
- protected line -> integer 117
- ⧉private trace -> Debug Backtrace (4)
- ⧉<ROOT>/app/Library/LiveRouter.php:45 Live21\Library\LiveRouter->_loadTenant(&$path)
- Source
- Arguments
- $namespace = $this->getNamespace();if(empty($path)){$this->redirToLanding();}//Load a tenant to run the application$this->_loadTenant($path);//Check if route is set as a custom route on \config\routes.phpif(isset($this->routes[implode("/", $path)]))$path = preg_split('@/@', $this->routes[implode("/", $path)], -1, PREG_SPLIT_NO_EMPTY);//Check if route is on another namespaceif(isset($this->extraNamespaces[$path[0]])){
- ⧉$path => array (3)
- 0 => string (9) "openhouse"
- 1 => string (7) "folders"
- 2 => string (3) "972"
- ⧉<ROOT>/library/App.php:36 Live21\Library\LiveRouter->route($url)
- Source
- Arguments
- function setRouter(Router $router){$this->router = $router;return $this;}function run(){$path = \ltrim(\str_freplace(PATH."/", '', $_SERVER['REQUEST_URI']), '/');$this->router->route($path);}static function loadEnv(){$dotenv = Dotenv::createImmutable(ROOT);$dotenv->load();}
- $url => string (21) "openhouse/folders/972"
- ⧉<ROOT>/library/loader.php:20 AdmBereich\App->run()
- Source
- if($_ENV['APP_DEBUG']){ //Se estiver no modo desenvolvimento, checa se algum arquivo .sass precisa ser compiladoif(!is_dir(ROOT."/public/css/"))mkdir(ROOT."/public/css/");\AdmBereich\Sass::compile(ROOT."/public/sass/", ROOT."/public/css/", '\ScssPhp\ScssPhp\Formatter\Compressed');}$app->setRouter($routes)->run();
- ⧉<ROOT>/public/index.php:11 require_once()
- Source
- Arguments
- define('PATH', str_replace($_SERVER["DOCUMENT_ROOT"],"",str_replace(array('/', '\\'),'/', ROOT)));define('HOST', $_SERVER['HTTP_HOST']);define('PROT','https');if (version_compare(phpversion(), '7.0', '<'))echo 'O admBereich requer no mínimo a versão 7.0 do php, por favor, atualize';require_once(ROOT.DS.'library'.DS.'loader.php');
- ⧉0 => string (34) "/var/www/21live/library/loader.php"
- File (875B)
-rwxrwxrwx 0 501 875B Jun 17 2022 /var/www/21live/library/loader.php
- private previous -> null
- ⇄public __construct($message, $code, $previous)new \Exception($message, $code, $previous)
- public __wakeup()
- ⇄final public getMessage()$dump->getMessage()
- ⇄final public getCode()$dump->getCode()
- ⇄final public getFile()$dump->getFile()
- ⇄final public getLine()$dump->getLine()
- ⇄final public getTrace()$dump->getTrace()
- ⇄final public getPrevious()$dump->getPrevious()
- ⇄final public getTraceAsString()$dump->getTraceAsString()
- ⇄public __toString()(string) $dump
- final private __clone()
- ⇄public __construct($message, $code, $previous)
- ⧉⌕$dump->getTrace() Debug Backtrace (4)
- ⇄⧉<ROOT>/app/Library/LiveRouter.php:45 Live21\Library\LiveRouter->_loadTenant(&$path)
$dump->getTrace()[0]
- Source
- Arguments
$namespace = $this->getNamespace();if(empty($path)){$this->redirToLanding();}//Load a tenant to run the application$this->_loadTenant($path);//Check if route is set as a custom route on \config\routes.phpif(isset($this->routes[implode("/", $path)]))$path = preg_split('@/@', $this->routes[implode("/", $path)], -1, PREG_SPLIT_NO_EMPTY);//Check if route is on another namespaceif(isset($this->extraNamespaces[$path[0]])){
- ⇄⧉$path => array (3)
$dump->getTrace()[0]['args'][0]
- ⇄0 => string (9) "openhouse"
$dump->getTrace()[0]['args'][0][0]
- ⇄1 => string (7) "folders"
$dump->getTrace()[0]['args'][0][1]
- ⇄2 => string (3) "972"
$dump->getTrace()[0]['args'][0][2]
- ⇄⧉<ROOT>/library/App.php:36 Live21\Library\LiveRouter->route($url)
$dump->getTrace()[1]
- Source
- Arguments
function setRouter(Router $router){$this->router = $router;return $this;}function run(){$path = \ltrim(\str_freplace(PATH."/", '', $_SERVER['REQUEST_URI']), '/');$this->router->route($path);}static function loadEnv(){$dotenv = Dotenv::createImmutable(ROOT);$dotenv->load();}
- ⇄$url => string (21) "openhouse/folders/972"
$dump->getTrace()[1]['args'][0]
- ⇄⧉<ROOT>/library/loader.php:20 AdmBereich\App->run()
$dump->getTrace()[2]
- Source
if($_ENV['APP_DEBUG']){ //Se estiver no modo desenvolvimento, checa se algum arquivo .sass precisa ser compiladoif(!is_dir(ROOT."/public/css/"))mkdir(ROOT."/public/css/");\AdmBereich\Sass::compile(ROOT."/public/sass/", ROOT."/public/css/", '\ScssPhp\ScssPhp\Formatter\Compressed');}$app->setRouter($routes)->run();
- ⇄⧉<ROOT>/public/index.php:11 require_once()
$dump->getTrace()[3]
- Source
- Arguments
define('PATH', str_replace($_SERVER["DOCUMENT_ROOT"],"",str_replace(array('/', '\\'),'/', ROOT)));define('HOST', $_SERVER['HTTP_HOST']);define('PROT','https');if (version_compare(phpversion(), '7.0', '<'))echo 'O admBereich requer no mínimo a versão 7.0 do php, por favor, atualize';require_once(ROOT.DS.'library'.DS.'loader.php');
- ⇄⧉0 => string (34) "/var/www/21live/library/loader.php"
$dump->getTrace()[3]['args'][0]
- File (875B)
-rwxrwxrwx 0 501 875B Jun 17 2022 /var/www/21live/library/loader.php