Report -> error 500 #754
Replies: 4 comments 10 replies
-
@registry is this still an issue? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi,
All of these issues (including the email one) have been resolved in 2.2.0
I recommend updating to the latest version (just make sure you are running
PHP8)
…On Wed, Jul 20, 2022 at 4:35 PM Vasily Pupkin ***@***.***> wrote:
This particular prolem resolved... i needed to add my email in config
(sick(!), not documented in ÍNSTALL instructions),
but another problem persists, which leads to very same error.... But this
tie 500 appears in 70% cases... sometimes it works... dont know the precise
reason:
Error log:
[20-Jul-2022 13:20:56 America/Los_Angeles] PHP Fatal error: Uncaught
Error: Cannot use object of type leantime\domain\models\reports as array in
/htdocs/management/src/domain/sprint
Stack trace:
#0 /htdocs/management/src/domain/reports/controllers/class.show.php(69):
leantime\domain\services\sprints->getSprintBurndown(Object(leantime\domain\models\sprints))
#1 <#1>/htdocs/management/src/core/class.frontcontroller.php(164):
leantime\domain\controllers\show->get(Array)
#2 <#2>/htdocs/management/src/core/class.frontcontroller.php(107):
leantime\core\frontcontroller->executeAction('reports.show')
#3 <#3>
/htdocs/management/src/core/class.application.php(88):
leantime\core\frontcontroller->run()
#4 <#4>
/htdocs/management/public/index.php(43): leantime\core\application->start()
#5 <#5> {main}
thrown in /htdocs/management/src/domain/sprints/services/class.sprints.php
on line 159
i have line
/htdocs/management/src/domain/reports/controllers/class.show.php(69):
...
$sprintChart = $this->sprintService->getSprintBurndown($sprintObject);
...
Version:
Powered By Leantime - 2.1.9
—
Reply to this email directly, view it on GitHub
<#754 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFQ37OQ22BE4U26E26LVVBPKRANCNFSM525GE3BA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
-
I’ll take a look. A new version will be released tomorrow and I’ll make
sure to include a fix.
…On Thu, Jul 21, 2022 at 5:06 PM Vasily Pupkin ***@***.***> wrote:
Well, i have unpacked sources over my old installation, preservind old
.htaccess and configure.php , it asked me about "DB update" -> i did,, it
confirmed success , but error as posted above persists....
—
Reply to this email directly, view it on GitHub
<#754 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFVH6XT4G7DB7U2OPD3VVG3VBANCNFSM525GE3BA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
marcelfolaron
-
Hi,
Please make sure you are running PHP 8+ we dropped support for 7 as of 2.2.0
…On Fri, Aug 5, 2022 at 9:09 AM alkisal ***@***.***> wrote:
Marcel hello
I am running version 2.1.9 and i have applied many updates before that
without issues.
i am trying to upgrade to 2.2.4 and although i am doing everything as
before i get the HTTP ERROR 500.
tried to replace .htaccess etc with the old file but nothing happens and
if i remove it altogether i get the usual 403 error.
this is the first time i am facing such issues with leantime.
any suggestions please?
thanks
Alkis
—
Reply to this email directly, view it on GitHub
<#754 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALG4EFT3P33S53SWSQT3WMDVXUG75ANCNFSM525GE3BA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i'm running Leantime on my domain
Sofar all runs good, except of reports
i get
/reports/show -> HTTP ERROR 500
error.log :
[07-Jul-2022 05:15:26 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: PDOStatement::setFetchMode(): Argument #2 must be a valid class in /src/domain/repo
Stack trace:
#0 /src/domain/reports/repositories/class.reports.php(291): PDOStatement->setFetchMode(8, 'leantime\domain...')
#1 /src/domain/sprints/services/class.sprints.php(157): leantime\domain\repositories\reports->getSprintReport('2')
#2 /src/domain/reports/controllers/class.show.php(69): leantime\domain\services\sprints->getSprintBurndown(Object(leantime\domain\models\sprints))
#3 /src/core/class.frontcontroller.php(164): leantime\domain\controllers\show->get(Array)
#4 /src/core/class.frontcontroller.php(107): leantime\core\frontcontroller->executeAction('reports.show')
#5 /src/core/class.application.php(88): leantime\core\frontcontroller->run()
#6 /public/index.php(43): leantime\core\application->start()
#7 {main}
thrown in /src/domain/reports/repositories/class.reports.php on line 291
Beta Was this translation helpful? Give feedback.
All reactions