<admBereich>_

Ocorreu um erro grave, e o sistema não pode prosseguir:
$exception Exception#8 (7) "A Instância /openhouse #43 - Open House está desativada"
  • Source
  • Properties (7)
  • Methods (11)
  • toString
  • protected function _loadTenant(&$path): void
    {
    $tenant = Tenant::bySlug($path[0]);
    if($tenant !== false){
    if($tenant->isDeleted()){
    if ($_SERVER['REQUEST_METHOD'] !== 'OPTIONS')
    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;
    return;
    }
    array_shift($path);
  • protected message -> UTF-8 string (57) "A Instância /openhouse #43 - Open House está desativada"
    private string -> string (0) ""
    protected code -> integer 0
    protected file -> string (45) "/var/www/21live/app/Foundation/LiveRouter.php"
    • File (8.7KB)
    • -rw-r--r-- 1000 48 8920 May 13 16:20 /var/www/21live/app/Foundation/LiveRouter.php
      
    protected line -> integer 157
    private trace -> Debug Backtrace (4)
    <ROOT>/app/Foundation/LiveRouter.php:57 Live21\Foundation\LiveRouter::_loadTenant(&$path)
    • Source
    • $namespace = $this->getNamespace(); //\Live21\Controllers\
      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.php
      if(isset($this->routes[implode("/", $path)]))
      $path = preg_split('@/@', $this->routes[implode("/", $path)], -1, PREG_SPLIT_NO_EMPTY);
      //Check if route is on another namespace
      if(isset($this->extraNamespaces[$path[0]])){
    <ROOT>/library/App.php:43 Live21\Foundation\LiveRouter::route(string $url)
    • Source
    • * Executa o Router
      * @return void
      * @throws \Exception
      */
      function run(): void
      {
      $path = \ltrim(\str_freplace(PATH."/", '', $_SERVER['REQUEST_URI']), '/');
      $this->router->route($path);
      }
      /**
      * Carrega o .env
      * @return void
      */
      static function loadEnv(): void
    <ROOT>/library/loader.php:20 AdmBereich\App::run()
    • Source
    • if($_ENV['APP_DEBUG'] && !preg_match('#^/[^/]+/API(?:/.*)?(?:\?.*)?$#', $_SERVER['REQUEST_URI'])){ //Se estiver no modo desenvolvimento, checa se algum arquivo .sass precisa ser compilado
      if(!is_dir(ROOT."/public/css/"))
      mkdir(ROOT."/public/css/");
      \AdmBereich\Sass::compile(ROOT."/public/sass/", ROOT."/public/css/");
      }
      $app->setRouter($routes)->run();
    <ROOT>/public/index.php:17
    • Source
    • Arguments (1)
    • if (version_compare(phpversion(), '8.0', '<'))
      echo 'O 21LIVE requer no mínimo a versão 8.0 do php, por favor, atualize';
      require_once ROOT.DS.'library'.DS.'profiling.php';
      require_once ROOT.DS.'library'.DS.'error_handler.php';
      require_once(ROOT.DS.'library'.DS.'loader.php');
    • 0 => string (34) "/var/www/21live/library/loader.php"
      • File (891B)
      • -rw-r--r-- 1000 48 891 Apr 25 09:53 /var/www/21live/library/loader.php
        
    private previous -> null
  • private __clone(): void
    public __construct(string $message = '', int $code = 0, ?Throwable $previous = null)
    new \Exception()
    public __wakeup()
    final public getMessage(): string
    $exception->getMessage()
    final public getCode()
    $exception->getCode()
    final public getFile(): string
    $exception->getFile()
    final public getLine(): int
    $exception->getLine()
    final public getTrace(): array
    $exception->getTrace()
    final public getPrevious(): ?Throwable
    $exception->getPrevious()
    final public getTraceAsString(): string
    $exception->getTraceAsString()
    public __toString(): string
    (string) $exception
  • $exception UTF-8 string (446) "Exception: A Instância /openhouse #43 - Open House está desativada in /var/w...
    (string) $exception
    Exception: A Instância /openhouse #43 - Open House está desativada in /var/www/21live/app/Foundation/LiveRouter.php:157
    Stack trace:
    #0 /var/www/21live/app/Foundation/LiveRouter.php(57): Live21\Foundation\LiveRouter->_loadTenant()
    #1 /var/www/21live/library/App.php(43): Live21\Foundation\LiveRouter->route()
    #2 /var/www/21live/library/loader.php(20): AdmBereich\App->run()
    #3 /var/www/21live/public/index.php(17): require_once('...')
    #4 {main}