A dedicated Address Book for projects and tasks in Kanboard. Add custom properties to standardise a relationship between tasks and people or organisations.
In Kanboard, why do I get undefined index for this code whenever I click the button?
[php7:notice] PHP Notice: Trying to access array offset on value of type null in /var/www/.../public_html/app/Helper/LayoutHelper.php on line 90
[php7:notice] PHP Notice: Undefined index: project in /var/www/.../public_html/app/Helper/LayoutHelper.php on line 91
But that never worked. Also, it is suggesting project in the error, and there is no mention of project in the code. The function of the actual code works fine.
Line 90-91 that the error is referring to is the elseif part of the below function:
In Kanboard, why do I get undefined index for this code whenever I click the button?
I click this in a button:
I read that
isset
is a solution but if usingisset
is the solution, where do I place it? I can't figure it out.I tried:
But that never worked. Also, it is suggesting
project
in the error, and there is no mention ofproject
in the code. The function of the actual code works fine.Line 90-91 that the error is referring to is the
elseif
part of the below function: