BaseDir : /var/www/portal/live

Return value of Weiterbildungsserver\shared\classes\app\models\Veranstalter::getId() must be of the type int or null, string returned
0080|    public function getId(): ?int
0081|    {
0082|        return parent::getId();
0083|    }
0084|
0240|    public function hasId(): bool
0241|    {
0242|        return $this->getId() !== self::NO_ROW;
0243|    }
0244|
0272|    public function ensureHasId()
0273|    {
0274|        if (!$this->hasId()) {
0275|            throw new RuntimeException('Assertion failed. The object of'
0276|                . ' class "' . static::class . '" has not got an id.');
0660|    private function fetch(): void
0661|    {
0662|        $id = $this->ensureHasId();
0663|        // Daten lesen und in Objekt speichern
0664|        $cmd = new SqlCommand('
0405|                $this->id = $id;
0406|            }
0407|            $this->fetch();
0408|        } catch (Exception $exception) {
0409|            // Urspr├╝ngliche ID wiederherstellen
0094|        $this->propertiesConstructed = true;
0095|        if ($id !== self::NO_ROW) {
0096|            $this->read($id);
0097|        } else if ($this->hasId()) {
0098|            $this->backupRow();
0390|        $id = $this->getParams('anbieterid', 2144);
0391|        try {
0392|            $anbieter = new Veranstalter($id);
0393|        } catch (Exception $e) {
0394|        }
0577|        $rm = $this->rc->getMethod($action);
0578|        $autoArgs = $this->buildInvokeArgumentsByMethodeSignature($rm);
0579|        return $rm->invokeArgs($this, $autoArgs);
0580|    }
0581|    
0550|            return;
0551|        }
0552|        $this->runAction($this->action);
0553|        $this->afterAction();
0554|
0185|        $controller = self::createController($parts[0], $urlparts, $layout);
0186|        // Aktion ausf├╝hren
0187|        $controller->callAction($parts[1], $args, $display);
0188|
0189|        return $controller;
0023|$vars = $_GET + $_POST;
0024|try {
0025|    Controller::runControllerAction($url, $vars);
0026|} catch (CallException $exception) {
0027|    header('Location: ' . AppEnvironment::getMobileUrl() . '/Error');