forcal icon indicating copy to clipboard operation
forcal copied to clipboard

Massig Fehler im Log: forCal\Handler\forCalHandler::decorateEntry(): Argument #1 ($entry) must be of type stdClass, null given

Open iceman-fx opened this issue 1 year ago • 1 comments

Mit der aktuellen version werden bei mir massig Fehler geworfen:

forCal\Handler\forCalHandler::decorateEntry(): Argument #1 ($entry) must be of type stdClass, null given, called in /var/www/web1841/html/sub_homepage/redaxo/src/addons/forcal/lib/forcal/Handler/forcalHandler.php on line 634

Der Aufruf kommt darüber: $data = \forCal\Handler\forCalHandler::exchangeEntry($eid, false); Die übergebene $eid ist dabei größer "0", aber anscheinend nicht in der DB vorhanden.

In der besagten Zeile müsste man das $entry[0] vorher prüfen.

REDAXO: 5.17.1 PHP: 8.2.6 Forcal: 4.0

iceman-fx avatar Jun 04 '24 07:06 iceman-fx

PR Welcome.

skerbis avatar Sep 23 '24 12:09 skerbis

da ich alles umgebaut habe , weiß ich nicht ob das noch gilt. Gerne wieder öffnen

skerbis avatar Mar 02 '25 22:03 skerbis