You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have problems with the installation please use our community forum
What set up are you using
Cloud Hosted Version
Self Hosted
Describe the bug A recent change added type-hints on function parameters and this leads to some runtime errors.
To Reproduce
Steps to reproduce the behavior:
Make sure that your session has no current project set (i.e. $_SESSION[] is empty).
Try to sign in
The error
Illuminate\View\ViewException:
Leantime\Domain\Projects\Services\Projects::getProject(): Argument #1 ($id) must be of type int, string given, called in /app/app/Domain/Menu/Services/Menu.php on line 125 (View: /app/app/Domain/Menu/Templates/headMenu.blade.php) (View: /app/app/Domain/Menu/Templates/headMenu.blade.php) (View: /app/app/Domain/Menu/Templates/headMenu.blade.php)
is reported.
Expected behavior
I expect to be able to sign in without having a current project.
Same here. Just upgraded my development version and got a 500 error
Specific error in logs:
[14-Mar-2024 14:02:53 America/Los_Angeles] TypeError: Leantime\Domain\Projects\Services\Projects::getProject(): Argument #1 ($id) must be of type int, string given, called in public_html/app/Domain/Menu/Services/Menu.php on line 125 and defined in public_html/app/Domain/Projects/Services/Projects.php:101
If you have problems with the installation please use our community forum
What set up are you using
Describe the bug
A recent change added type-hints on function parameters and this leads to some runtime errors.
To Reproduce
Steps to reproduce the behavior:
$_SESSION[]
is empty).Expected behavior
I expect to be able to sign in without having a current project.
Leantime Version
https://github.com/Leantime/leantime/releases/tag/v3.0.7
The text was updated successfully, but these errors were encountered: