Today I observed that in3 of my 4 KANBOARD installations WIKI pages can no longer be created or modified.
I did a quick test in my Test Installation:
After having replaced folders app, assets, libs, vendor by (very) old ones
Application Version 1.2.20 Installed on 10 April 2023
PHP Version 7.4.33
PHP SAPI fpm-fcgi
HTTP Client cURL
Server OS Linux 5.4.0-155-generic
Database Driver mysql
Database Version 10.5.22-MariaDB-1:10.5.22+maria~ubu2004-log
Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Wiki works fine again.
Error Logs from my main KANBOARD installation show entries like
[18-Sep-2023 11:49:08 Europe/Berlin] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\EventDispatcher\EventDispatcher::dispatch() must be an object, string given, called in /www/htdocs/w0075f62/tickets.kanban.bielefeldundbuss.de/plugins/Wiki/Model/WikiEventJob.php on line 42 and defined in /www/htdocs/w0075f62/tickets.kanban.bielefeldundbuss.de/vendor/symfony/event-dispatcher/EventDispatcher.php:48
Stack trace:
#0 /www/htdocs/w0075f62/tickets.kanban.bielefeldundbuss.de/plugins/Wiki/Model/WikiEventJob.php(42): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('wikipage.create', Object(Kanboard\Event\CommentEvent))
#1 /www/htdocs/w0075f62/tickets.kanban.bielefeldundbuss.de/plugins/Wiki/Model/Wiki.php(270): Kanboard\Plugin\Wiki\Model\WikiEventJob->execute('neue', '46', Array, 'wikipage.create')
#2 /www/htdocs/w0075f62/tickets.kanban.bielefeldundbuss.de/plugins/Wiki/Controller/WikiController.php(326): Kanboard\Plugin\Wiki\Model\Wiki->createpage('46', 'neue', 'wikilinie', '2023-09-18')
#3 /www/htdocs/w0075f62/tickets.kanban.bielef in /www/htdocs/w0075f62/tickets.kanban.bielefeldundbuss.de/vendor/symfony/event-dispatcher/EventDispatcher.php on line 48
Strange 1 (very small) installation does not show the problem.
All this only as an info fo now. I will do more research later.