Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iceman-fx opened this issue Jun 4, 2024 · 0 comments
Labels
bug Something isn't working pr welcome

Comments

@iceman-fx
Copy link
Member

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

@skerbis skerbis added bug Something isn't working pr welcome labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pr welcome
Projects
None yet
Development

No branches or pull requests

2 participants