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

Use of undefined variable user #10

Closed
amadeous opened this issue Apr 6, 2020 · 2 comments
Closed

Use of undefined variable user #10

amadeous opened this issue Apr 6, 2020 · 2 comments

Comments

@amadeous
Copy link

amadeous commented Apr 6, 2020

Hi,

I noticed the following in my apache logs :

PHP Notice: Undefined variable: user in /var/www/kanboard/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 31
PHP Notice: Undefined variable: user in /var/www/kanboard/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 35
PHP Notice: Undefined variable: user in /var/www/kanboard/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 39
PHP Notice: Undefined variable: user in /var/www/kanboard/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 43

It seems that the $user variable the theme is looking for is not defined by Kanboard...
I haven't encountered any functional issue yet but might be easy to fix and prevent some logs. 😉

Thank you for your time and your nice theme ! 😃

@Lennart97
Copy link

Lennart97 commented Oct 20, 2020

The same happens on docker with nginx.

PHP message: PHP Notice:  Undefined variable: user in /var/www/app/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 31"
PHP message: PHP Notice:  Undefined variable: user in /var/www/app/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 35"
PHP message: PHP Notice:  Undefined variable: user in /var/www/app/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 39"
PHP message: PHP Notice:  Undefined variable: user in /var/www/app/plugins/Nebula/Template/layout/header/creation_dropdown.php on line 43"

@Addendum-git
Copy link

Same happens in localhost...

any solutions?

@kenlog kenlog closed this as completed in 0c1382c Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants