<admBereich>_

Ocorreu um erro grave, e o sistema não pode prosseguir:
$error Exception#10 (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.9KB)
    • -rw-r--r-- 1000 48 9164 May 20 14:48 /var/www/21live/app/Foundation/LiveRouter.php
      
    protected line -> integer 162
    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:49 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(!empty($_ENV['SASS_COMPILE']) && !preg_match('#^/[^/]+/API(?:/.*)?(?:\?.*)?$#', $_SERVER['REQUEST_URI'])){ //Compila SASS se SASS_COMPILE=true
      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:26
    • Source
    • Arguments (1)
    • require_once ROOT.DS.'vendor'.DS.'autoload.php';
      \AdmBereich\CrashCapture::configure(
      [\Live21\Services\CrashReporter::class, 'persist'],
      ROOT.DS.'tmp'.DS.'issues.jsonl'
      );
      require_once(ROOT.DS.'library'.DS.'loader.php');
    • 0 => string (34) "/var/www/21live/library/loader.php"
      • File (839B)
      • -rw-r--r-- 1000 48 839 May 20 14:48 /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
    $error->getMessage()
    final public getCode()
    $error->getCode()
    final public getFile(): string
    $error->getFile()
    final public getLine(): int
    $error->getLine()
    final public getTrace(): array
    $error->getTrace()
    final public getPrevious(): ?Throwable
    $error->getPrevious()
    final public getTraceAsString(): string
    $error->getTraceAsString()
    public __toString(): string
    (string) $error
  • $error UTF-8 string (446) "Exception: A Instância /openhouse #43 - Open House está desativada in /var/w...
    (string) $error
    Exception: A Instância /openhouse #43 - Open House está desativada in /var/www/21live/app/Foundation/LiveRouter.php:162
    Stack trace:
    #0 /var/www/21live/app/Foundation/LiveRouter.php(57): Live21\Foundation\LiveRouter->_loadTenant()
    #1 /var/www/21live/library/App.php(49): Live21\Foundation\LiveRouter->route()
    #2 /var/www/21live/library/loader.php(20): AdmBereich\App->run()
    #3 /var/www/21live/public/index.php(26): require_once('...')
    #4 {main}