Skip to content

"Undefined variable $not_editable" php warnings in kanboard wiki page #56

@nya1

Description

@nya1

This issue is:

  • Bug report
  • Feature request
  • Improvement

Actual behaviour

Many PHP warnings are displayed in Kanboard web app

Expected behaviour

No warnings are displayed

Steps to reproduce

  1. Run Kanboard 1.2.25 docker run -e PLUGIN_INSTALLER=true -d --name kanboard -p 80:80 -t kanboard/kanboard:v1.2.25
  2. Install kanboard-plugin-wiki via Plugin installer UI (web app)
  3. navigate to project, open wiki

Screenshots

example

Logs

PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/show.php on line 6"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/show.php on line 60"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/detail.php on line 1"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/detail.php on line 6"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/detail.php on line 38"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/detail.php on line 39"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/detail.php on line 55"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/detail.php on line 67"
PHP message: PHP Warning:  Undefined variable $not_editable in /var/www/app/plugins/Wiki/Template/wiki/detail.php on line 95"

Configuration

  • Kanboard version: 1.2.25
  • Plugin version: 0.3.2
  • Database type and version: sqlite
  • PHP version: 8.1.12
  • OS: Linux 5.4
  • Browser: Chrome
  • Application settings Language: English

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions