BaseDir : /var/www/portal/live

TypeError : Return value of Weiterbildungsserver\shared\classes\app\models\Veranstalter::getId() must be of the type int or null, string returned
0079|    public function getId(): ?int
0080|    {
0081|        return parent::getId();
0082|    }
0083|
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.');
0669|    private function fetch(): void
0670|    {
0671|        $id = $this->ensureHasId();
0672|        // Daten lesen und in Objekt speichern
0673|        $cmd = new SqlCommand('
0406|                $this->id = $id;
0407|            }
0408|            $this->fetch();
0409|        } catch (Exception $exception) {
0410|            // 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();
0393|        $id = $this->getParams('anbieterid', 2144);
0394|        try {
0395|            $anbieter = new Veranstalter($id);
0396|        } catch (Exception $e) {
0397|        }

0576|        $rm = $this->rc->getMethod($action);
0577|        $autoArgs = $this->buildInvokeArgumentsByMethodeSignature($rm);
0578|        return $rm->invokeArgs($this, $autoArgs);
0579|    }
0580|
0538|            return;
0539|        }
0540|        $this->runAction($this->action);
0541|        $this->afterAction();
0542|        if ($this->handleJsonResponse($display)) {
0150|        $controller = $prepareController->getController();
0151|        $action = $prepareController->getAction();
0152|        $controller->callAction($action, $args, $display);
0153|        return $controller;
0154|    }
0026|$vars = $_GET + $_POST;
0027|try {
0028|    Controller::runControllerAction($url, $vars);
0029|} catch (CallException $exception) {
0030|    header('Location: ' . AppEnvironment::getMobileUrl() . '/Error');

  1. shared/classes/app/models/Veranstalter.php:81 N/A
  2. shared/classes/core/data/Model.php:242 Weiterbildungsserver\shared\classes\app\models\Veranstalter->getId()
  3. shared/classes/core/data/Model.php:274 Weiterbildungsserver\shared\classes\core\data\Model->hasId()
  4. shared/classes/core/data/Model.php:671 Weiterbildungsserver\shared\classes\core\data\Model->ensureHasId()
  5. shared/classes/core/data/Model.php:408 Weiterbildungsserver\shared\classes\core\data\Model->fetch()
  6. shared/classes/core/data/Model.php:96 Weiterbildungsserver\shared\classes\core\data\Model->read()
  7. mobile/controllers/IndexController.php:395 Weiterbildungsserver\shared\classes\core\data\Model->__construct()
  8. N/A Weiterbildungsserver\mobile\controllers\IndexController->einzelAnbieter()
  9. shared/classes/core/data/Controller.php:578 ReflectionMethod->invokeArgs()
  10. shared/classes/core/data/Controller.php:540 Weiterbildungsserver\shared\classes\core\data\Controller->runAction()
  11. shared/classes/core/data/Controller.php:152 Weiterbildungsserver\shared\classes\core\data\Controller->callAction()
  12. mobile/pub/index.php:28 Weiterbildungsserver\shared\classes\core\data\Controller::runControllerAction()