Ошибка 500
    
        Произошла некоторая ошибка на сервере.
[ValueError] max(): Argument #1 ($value) must contain at least one element @ /char/include.php:126.
     
    ValueError {#64
  #message: "max(): Argument #1 ($value) must contain at least one element"
  #code: 0
  #file: "/srv/tlkthebeginning.teswa.ru/public/char/include.php"
  #line: 126
  trace: {
    /srv/tlkthebeginning.teswa.ru/public/char/include.php:126 {
      getFullChar($id) …
      › 
      › while (($char['lots'][$li]['lid'] != $f['lid']) && ($li <= max(array_keys($char['lots'])))) {
      ›     $li++;
    }
    /srv/tlkthebeginning.teswa.ru/public/char/_view.php:32 {
      generateCharPage($id, $type = CHARPAGE_TYPE_SITE) …
      › 
      › $char = getFullChar($id);
      › $fields = ['info' => ''];
    }
    /srv/tlkthebeginning.teswa.ru/public/char/index.php:46 {
      include …
      › 
      › $aside_fields = generateCharPage($id);
      › 
    }
    /srv/tlkthebeginning.teswa.ru/public/generate.php:68 {
      LoadPage($path): string|bool …
      › try {
      ›     include $path;
      ›     $result = ob_get_contents();
      arguments: {
        "/srv/tlkthebeginning.teswa.ru/public/char/index.php"
      }
    }
    /srv/tlkthebeginning.teswa.ru/public/generate.php:81 {
      › 
      › $content = LoadPage($_GET["path"]);
      › 
    }
  }
}