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

Plugin error #22

Closed
daivermaster opened this issue Oct 29, 2018 · 3 comments
Closed

Plugin error #22

daivermaster opened this issue Oct 29, 2018 · 3 comments

Comments

@daivermaster
Copy link

  1. Install the plugin from the Kanboard plugin manager with one click.
  2. Create new wiki page.
  3. Click on wiki page.
  4. Got HTTP ERROR 500

/var/log/httpd/error_log:
[Mon Oct 29 16:59:58.945039 2018] [php7:error] [pid 13452] [client 10.20.0.1:60590] PHP Fatal
error: Class Kanboard\Plugin\Wiki\Model\WikiFile contains 1 abstract method and must ther
efore be declared abstract or implement the remaining methods (Kanboard\Model\FileModel::fir
eDestructionEvent) in /var/www/html/doska/plugins/Wiki/Model/WikiFile.php on line 10
9

/var/www/html/doska/data/debug.log:
[2018-10-29 13:59:58] [debug] Kanboard\Core\Controller\Runner::executeMiddleware
[2018-10-29 13:59:58] [debug] Subscriber executed: Kanboard\Subscriber\BootstrapSubscriber::execute
[2018-10-29 16:59:58] [debug] Kanboard\Core\Controller\BaseMiddleware::next => Kanboard\Middleware\AuthenticationMiddleware
[2018-10-29 16:59:58] [debug] Kanboard\Core\Controller\BaseMiddleware::next => Kanboard\Middleware\PostAuthenticationMiddleware
[2018-10-29 16:59:58] [debug] Kanboard\Core\Controller\BaseMiddleware::next => Kanboard\Middleware\ApplicationAuthorizationMiddleware
[2018-10-29 16:59:58] [debug] Kanboard\Core\Controller\BaseMiddleware::next => Kanboard\Middleware\ProjectAuthorizationMiddleware
[2018-10-29 16:59:58] [debug] Kanboard\Core\Controller\Runner::executeController => \Kanboard\Plugin\Wiki\Controller\WikiController::detail

Application version: master
PHP version: 7.3.0RC4
PHP SAPI: apache2handler
OS version: Linux 3.10.0-862.el7.x86_64
Database driver: sqlite
Database version: 3.7.17
Browser: Mozilla/5.0 (X11; Russian Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

What i lost?

Thank you.

@creecros
Copy link
Collaborator

creecros commented Oct 29, 2018

your using the master, and in the master an abstract function has been added to the filemodel:

abstract protected function fireDestructionEvent($file_id);

this function does not yet exist in any released version of Kanboard.

@creecros
Copy link
Collaborator

That should fix it, and it seems to be fine on previous versions to add it. No idea if and when it will get merged.

@daivermaster
Copy link
Author

Thank you.

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

2 participants